org.apache.lucene.search

Class Filter

public abstract class Filter extends Object implements Serializable

Abstract base class providing a mechanism to restrict searches to a subset of an index.
Method Summary
abstract BitSetbits(IndexReader reader)
Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not.

Method Detail

bits

public 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.
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.