lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hendrik Dev <>
Subject Apply Lucene Query on Bits
Date Sun, 04 Dec 2016 09:04:55 GMT

how to apply a 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)


Hendrik Saly (salyh, hendrikdev22)
PGP: 0x22D7F6EC

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message