Class WildcardQuery
Implements the wildcard search query. Supported wildcards are , which
matches any character sequence (including the empty one), and
?
,
which matches any single character. Note this query can be slow, as it
needs to iterate over many terms. In order to prevent extremely slow WildcardQueries,
a Wildcard term should not start with one of the wildcards or
?
.
This query uses the CONSTANT_SCORE_AUTO_REWRITE_DEFAULT
rewrite method.
Inherited Members
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public class WildcardQuery : MultiTermQuery
Constructors
Name | Description |
---|---|
WildcardQuery(Term) |
Fields
Name | Description |
---|---|
internalTerm |
Properties
Name | Description |
---|---|
Term | Returns the pattern term. |
Methods
Name | Description |
---|---|
Equals(Object) | |
GetEnum(IndexReader) | |
GetHashCode() | |
Rewrite(IndexReader) | |
ToString(String) | Prints a user-readable version of this query. |