com.arsdigita.search.lucene
Class NegationFilter
java.lang.Object
org.apache.lucene.search.Filter
com.arsdigita.search.lucene.NegationFilter
- public class NegationFilter
- extends org.apache.lucene.search.Filter
A filter whose bitset is the logical
NOT of the bitset generated by the
wrapped filter.
Constructor Summary |
NegationFilter(org.apache.lucene.search.Filter filter)
|
Method Summary |
BitSet |
bits(org.apache.lucene.index.IndexReader reader)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NegationFilter
public NegationFilter(org.apache.lucene.search.Filter filter)
bits
public BitSet bits(org.apache.lucene.index.IndexReader reader)
throws IOException
- Returns:
- bitset for the negation of the wrapped filter
- Throws:
IOException
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC