: Adrien Grand [mailto:jpou...@gmail.com]
>> Sent: Monday, December 5, 2016 3:35 PM
>> To: java-user@lucene.apache.org
>> Subject: Re: Apply Lucene Query on Bits
>>
>> Do I get it right that you have a query that defines a set of visible
>> documents, and you want t
ject: Re: Apply Lucene Query on Bits
>
> Do I get it right that you have a query that defines a set of visible
> documents, and you want to make sure that your FilterReader only sees
> those
> documents?
>
> If this is the case, then you could use FixedBitSet.or to load the
&g
Do I get it right that you have a query that defines a set of visible
documents, and you want to make sure that your FilterReader only sees those
documents?
If this is the case, then you could use FixedBitSet.or to load the
Scorer.iterator() into a FixedBitSet, and then maintain two caches:
- one
Hello Hendrik,
I lurked sources and find nothing better than copy a few pieces
from org.apache.lucene.search.MultiTermQueryConstantScoreWrapper and
especially
org.apache.lucene.search.MultiTermQueryConstantScoreWrapper.createWeight(...).new
ConstantScoreWeight() {...}.scorer(DocIdSet).
On Sun, De