Class PrefixQuery
A Query that matches documents containing terms with a specified prefix. A PrefixQuery
is built by QueryParser for input like app*
.
This query uses the CONSTANT_SCORE_AUTO_REWRITE_DEFAULT rewrite method.
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public class PrefixQuery : MultiTermQuery
Constructors
Name | Description |
---|---|
PrefixQuery(Term) | Constructs a query for terms starting with |
Properties
Name | Description |
---|---|
Prefix | Returns the prefix of this query. |
Methods
Name | Description |
---|---|
Equals(Object) | |
GetHashCode() | |
GetTermsEnum(Terms, AttributeSource) | |
ToString(String) | Prints a user-readable version of this query. |