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 specifiedmaxEdits
from the provided term. A limit ofmaxExpansions
prevents 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 IntervalsSource
toIntervalSource(String field, Analyzer analyzer)
String
toString()
-
-
-
Method Detail
-
toIntervalSource
public IntervalsSource toIntervalSource(String field, Analyzer analyzer)
- Specified by:
toIntervalSource
in classIntervalFunction
-
toString
public String toString()
- Specified by:
toString
in classIntervalFunction
-
-