Table of Contents

Public classSealed 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

Public constructor FuzzyQuery(string, string, int, int)

Initialises a new FuzzyQuery for the given field and term.

Public field DefaultMaxExpansions

Default maximum number of matching terms to expand.

Public property Field

Gets the primary field this query targets.

Public property MaxEdits

Gets the maximum number of Levenshtein edits allowed for a term to match.

Public property MaxExpansions

Maximum number of matching terms to expand into the scored query. When more terms match, only the closest (lowest edit distance) are kept.

Public property Term

Gets the target term that candidate terms are compared against.

Public method Equals(object?)

Determines whether the specified object is equal to the current object.

Public method GetHashCode()

Serves as the default hash function.