Alan Woodward created LUCENE-6473:
-------------------------------------

             Summary: Make Spans an interface
                 Key: LUCENE-6473
                 URL: https://issues.apache.org/jira/browse/LUCENE-6473
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Alan Woodward


Spans is currently an abstract class, extending DocIdSetIterator.  This 
restricts what we can do with implementations of Spans.  For example, in 
LUCENE-6371, it would be useful to have PayloadSpan classes that extend 
existing Spans implementations, but that also implement a PayloadSpans 
interface that extends Spans.  This isn't possible if Spans is not an interface 
itself.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to