
FuzzyQuery
- Namespace
- Rowles.LeanLucene.Search.Queries
- Assembly
- Rowles.LeanLucene.dll
Matches terms within a Levenshtein edit distance of the target term.
public sealed class FuzzyQuery : Query, IEquatable<Query>
- Inheritance
-
FuzzyQuery
- Inherited Members
- Extension Methods
FuzzyQuery(string, string, int, int)
Initialises a new FuzzyQuery for the given field and term.
DefaultMaxExpansions
Default maximum number of matching terms to expand.
Field
Gets the primary field this query targets.
MaxEdits
Gets the maximum number of Levenshtein edits allowed for a term to match.
MaxExpansions
Maximum number of matching terms to expand into the scored query. When more terms match, only the closest (lowest edit distance) are kept.
Term
Gets the target term that candidate terms are compared against.
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.