: 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
Hi,
how to apply a org.apache.lucene.search.Query on a given
org.apache.lucene.util.Bits object?
Background: I have a subclass of
org.apache.lucene.index.FilterLeafReader where i want to filter the
livedocs by applying a query on the "Bits".
According to javadoc i need also to override numDocs()