com.lucene.search
Class Filter
java.lang.Object
|
+--com.lucene.search.Filter
- Direct Known Subclasses:
- DateFilter
- public abstract class Filter
- extends Object
Abstract base class providing a mechanism to restrict searches to a subset
of an index.
Method Summary |
abstract BitSet |
bits(IndexReader reader)
Returns a BitSet with true for documents which should be permitted in
search results, and false for those that should not. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Filter
public Filter()
bits
public abstract BitSet bits(IndexReader reader)
throws IOException
- Returns a BitSet with true for documents which should be permitted in
search results, and false for those that should not.