org.apache.lucene.search
Class PrefixFilter
- Serializable
public class PrefixFilter
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.
|
Term | getPrefix()
|
String | toString() - Prints a user-readable version of this query.
|
prefix
protected final Term prefix
PrefixFilter
public PrefixFilter(Term prefix)
bits
public 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.
- bits in interface Filter
getPrefix
public Term getPrefix()
toString
public String toString()
Prints a user-readable version of this query.
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.