lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timo Nentwig <>
Subject How to combine filter in Lucene 2.4?
Date Sat, 08 Nov 2008 18:06:15 GMT

Since Filter.bits() is deprecated and replaced by getDocIdSet() now I wonder 
how I am supposed to combine (AND) filters (for facets).

I worked around this issue by extending Filter and let getDocIdSet() return an 
OpenBitSet to ensure that this implementation is used everywhere and casting 
to OpenBitSet will work but this is really not clean code.


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

View raw message