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
Namespace:
Assembly: Lucene.Net.NetCore.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) | |
GetEnum(IndexReader) | |
GetHashCode() | |
ToString(String) | Prints a user-readable version of this query. |