FileDocCategorySizeDatePackage
WildcardQuery.javaAPI DocApache Lucene 1.4.31473Fri Apr 16 11:49:06 BST 2004org.apache.lucene.search

WildcardQuery

public class WildcardQuery extends MultiTermQuery
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 all terms. In order to prevent extremely slow WildcardQueries, a Wildcard term must not start with one of the wildcards * or ?.
see
WildcardTermEnum

Fields Summary
Constructors Summary
public WildcardQuery(Term term)

    super(term);
  
Methods Summary
protected org.apache.lucene.search.FilteredTermEnumgetEnum(org.apache.lucene.index.IndexReader reader)

    return new WildcardTermEnum(reader, getTerm());