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() if i override
getLiveDocs(). So the question extends also to how to filter the
number of documents based on a query (within a FilterLeafReader)

Thx
Hendrik


-- 
Hendrik Saly (salyh, hendrikdev22)
@hendrikdev22
PGP: 0x22D7F6EC

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to