Class FuzzyTerm
- java.lang.Object
-
- org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.IntervalFunction
-
- org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.FuzzyTerm
-
public class FuzzyTerm extends IntervalFunction
An interval function equivalent toFuzzyQuery. A fuzzy term expands to a disjunction of intervals of terms that are within the specifiedmaxEditsfrom the provided term. A limit ofmaxExpansionsprevents the internal implementation from blowing up on too many potential candidate terms.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntervalsSourcetoIntervalSource(String field, Analyzer analyzer)StringtoString()
-
-
-
Method Detail
-
toIntervalSource
public IntervalsSource toIntervalSource(String field, Analyzer analyzer)
- Specified by:
toIntervalSourcein classIntervalFunction
-
toString
public String toString()
- Specified by:
toStringin classIntervalFunction
-
-