org.apache.lucene.search
public class PrefixQuery extends Query
app*
.
Constructor Summary | |
---|---|
PrefixQuery(Term prefix) Constructs a query for terms starting with prefix . |
Method Summary | |
---|---|
boolean | equals(Object o) Returns true iff o is equal to this. |
Term | getPrefix() Returns the prefix of this query. |
int | hashCode() Returns a hash code value for this object. |
Query | rewrite(IndexReader reader) |
String | toString(String field) Prints a user-readable version of this query. |
prefix
.o
is equal to this.