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 {@link
MultiTermQuery#CONSTANT_SCORE_AUTO_REWRITE_DEFAULT}
rewrite method.
Namespace: Lucene.Net.SearchCopyC#
*
CopyC#
?
CopyC#
*
CopyC#
?
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
[SerializableAttribute] public class WildcardQuery : MultiTermQuery |
Visual Basic |
---|
<SerializableAttribute> _ Public Class WildcardQuery _ Inherits MultiTermQuery |
Visual C++ |
---|
[SerializableAttribute] public ref class WildcardQuery : public MultiTermQuery |
Inheritance Hierarchy
System..::..Object
Lucene.Net.Search..::..Query
Lucene.Net.Search..::..MultiTermQuery
Lucene.Net.Search..::..WildcardQuery
Lucene.Net.Search..::..Query
Lucene.Net.Search..::..MultiTermQuery
Lucene.Net.Search..::..WildcardQuery