lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-3459) Change ChainedFilter to use FixedBitSet
Date Sun, 25 Sep 2011 11:19:26 GMT
Change ChainedFilter to use FixedBitSet
---------------------------------------

                 Key: LUCENE-3459
                 URL: https://issues.apache.org/jira/browse/LUCENE-3459
             Project: Lucene - Java
          Issue Type: Task
            Reporter: Uwe Schindler


ChainedFilter also uses OpenBitSet(DISI) at the moment. It should also be changed to use FixedBitSet.
There are two issues:
- It exposes sometimes OpenBitSetDISI to it's public API - we should remove those methods
like in BooleanFilter and break backwards
- It allows a XOR operation. This is not yet supported by FixedBitSet, but it's easy to add
(like for BooleanFilter). On the other hand, this XOR operation is bogus, as it may mark documents
in the BitSet that are deleted, breaking new features like applying Filters down-low (LUCENE-1536).
We should remove the XOR operation maybe or force it to use IR.validDocs() (trunk) or IR.isDeleted()

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message