org.apache.lucene.search
public class PrefixQuery extends Query
| Constructor Summary | |
|---|---|
| PrefixQuery(Term prefix) Constructs a query for terms starting with prefix. | |
| Method Summary | |
|---|---|
| Query | combine(Query[] queries) |
| Term | getPrefix() Returns the prefix of this query. |
| Query | rewrite(IndexReader reader) |
| String | toString(String field) Prints a user-readable version of this query. |
prefix.