FuzzyTerm

class FuzzyTerm(term: String, maxEdits: Int?, maxExpansions: Int?) : IntervalFunction

An interval function equivalent to FuzzyQuery. A fuzzy term expands to a disjunction of intervals of terms that are within the specified maxEdits from the provided term. A limit of maxExpansions prevents the internal implementation from blowing up on too many potential candidate terms.

Constructors

Link copied to clipboard
constructor(term: String, maxEdits: Int?, maxExpansions: Int?)

Functions

Link copied to clipboard
open override fun toIntervalSource(field: String, analyzer: Analyzer): IntervalsSource
Link copied to clipboard
open override fun toString(): String