org.apache.lucene.search
public class WildcardQuery extends MultiTermQuery
*
, 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 all terms. In order to prevent extremely slow WildcardQueries,
a Wildcard term must not start with one of the wildcards *
or
?
.
See Also: WildcardTermEnum
Constructor Summary | |
---|---|
WildcardQuery(Term term) |
Method Summary | |
---|---|
protected FilteredTermEnum | getEnum(IndexReader reader) |