[ 
https://issues.apache.org/jira/browse/LUCENE-5081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13696103#comment-13696103
 ] 

Uwe Schindler commented on LUCENE-5081:
---------------------------------------

I dont think it should use CachingWrapperFilter as a "workaround" and assuming 
its a FixedBitSet.

If it needs a FixedBitSet, it can use the filter, get its DocIdSetIterator and 
pass it to FixedBitSet to create a copy. The use case in BlockJoinQuery has 
nothing to do with filters, it needs a special implementation to seek backwards 
through the result set. So it has to clone the bitset by itsself by explicitely 
creating a FixedBitSet internally (if it detects that the DocIdSet returned by 
the filter is not a FixedBitSet).
                
> Compress doc ID sets
> --------------------
>
>                 Key: LUCENE-5081
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5081
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-5081.patch
>
>
> Our filters use bit sets a lot to store document IDs. However, it is likely 
> that most of them are sparse hence easily compressible. Having efficient 
> compressed sets would allow for caching more data.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to