Yes, use TermsFilter to add your 5000 terms by calling
TermsFilter.addTerm(term) repeatedly then put that single filter as a single
"not" clause in a BooleanFilter
Cheers
Mark
On 17 Oct 2008, at 04:02, "prabin meitei" <[EMAIL PROTECTED]> wrote:
Hi, Thanks for the reply. I looked through the Fi
Hi, Thanks for the reply. I looked through the Filter class. I think i can
use the TermFilter for my requirement. But I have few doubs regarding the
use of termFilter.
Can I add any number of terms to it?? say 5000 terms? Is there any limit?
Can i use this term filter by adding to another boolean
This sounds like a filter would work here. The basic idea of a filter
is that it's a bitmap where each bit's ordinal position
represents the a doc ID. Only documents corresponding to
"on" bits are returned.
Filters can be combined, flipped, etc. All the things you'd expect
to do with a bunch of bi