org.apache.lucene.search

Class PrefixFilter

public class PrefixFilter extends Filter

Version: $Id$

Author: yonik

Field Summary
protected Termprefix
Constructor Summary
PrefixFilter(Term prefix)
Method Summary
BitSetbits(IndexReader reader)
TermgetPrefix()
StringtoString()
Prints a user-readable version of this query.

Field Detail

prefix

protected final Term prefix

Constructor Detail

PrefixFilter

public PrefixFilter(Term prefix)

Method Detail

bits

public BitSet bits(IndexReader reader)

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.