If we intend to make more use of filters this may be an appropriate time to raise a general question I have on their use. Is there a danger in tieing them to a specific implementation (java.util.BitSet)?
If we work to an interface we introduce the possibility of introducing more efficient alternatives. As as an example - a date filter for an index where documents are added in chronological order would only ever need to keep two ints (not a bitset of all doc ids) to filter that range of docs. The downside of course is that introducing such an abstraction to filtering would add an extra method invocation around plain old BitSets.
Has this approach already been considered and discounted?
Cheers, Mark
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]