lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Woodward (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-6473) Make Spans an interface
Date Sat, 09 May 2015 21:17:59 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message