lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-8386) Maybe a DocIdSetIterator may implement Bits?
Date Thu, 05 Jul 2018 20:26:00 GMT
David Smiley created LUCENE-8386:
------------------------------------

             Summary: Maybe a DocIdSetIterator may implement Bits?
                 Key: LUCENE-8386
                 URL: https://issues.apache.org/jira/browse/LUCENE-8386
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/search
            Reporter: David Smiley


I was looking at ConjunctionDISI and noted the special case logic for DISI's of type BitSetIterator.
It seems to only need the more minimal Bits interface though it makes references to BitSet
specifically.   BitSetIterator is a concrete class; it would be nice if a DISI could either
implement an optional interface to expose a Bits or perhaps implements Bits directly.  This
would allow other/custom DISIs that can implement a Bits quickly without being forced to use
BitSetIterator specifically.  Even DocIdSetIterator.all(...) could implement this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message