java.lang.Object | |||
↳ | org.apache.lucene.search.Query | ||
↳ | org.apache.lucene.search.MultiTermQuery | ||
↳ | org.apache.lucene.search.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.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
term |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.lucene.search.MultiTermQuery
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the pattern term.
| |||||||||||
Expert: called to re-write queries into primitive queries.
| |||||||||||
Prints a user-readable version of this query.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct the enumeration to be used, expanding the pattern term.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.lucene.search.MultiTermQuery
| |||||||||||
From class
org.apache.lucene.search.Query
| |||||||||||
From class
java.lang.Object
|
Expert: called to re-write queries into primitive queries. For example, a PrefixQuery will be rewritten into a BooleanQuery that consists of TermQuerys.
IOException |
---|
Construct the enumeration to be used, expanding the pattern term.
IOException |
---|