org.apache.lucene.search
Class FuzzyQuery
java.lang.Object
org.apache.lucene.search.Query
org.apache.lucene.search.MultiTermQuery
org.apache.lucene.search.FuzzyQuery
- All Implemented Interfaces:
- Cloneable, Serializable
- public final class FuzzyQuery
- extends MultiTermQuery
Implements the fuzzy search query
- See Also:
- Serialized Form
FuzzyQuery
public FuzzyQuery(Term term)
getEnum
protected FilteredTermEnum getEnum(IndexReader reader)
throws IOException
- Description copied from class:
MultiTermQuery
- Construct the enumeration to be used, expanding the pattern term.
- Specified by:
getEnum
in class MultiTermQuery
- Throws:
IOException
toString
public String toString(String field)
- Description copied from class:
MultiTermQuery
- Prints a user-readable version of this query.
- Overrides:
toString
in class MultiTermQuery
Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.