LevenshteinOptions Class

Represents the options for calculating the Levenshtein distance.

Definition

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
[SerializableAttribute]
public class LevenshteinOptions
Inheritance
Object    LevenshteinOptions

Remarks

Supported with Manticore Search 4.0.2 and up.

Constructors

LevenshteinOptionsInitializes a new instance of the LevenshteinOptions class

Properties

LengthDelta If the lengths of source and pattern differ by more than this value, do not calculate the Levenshtein distance and return Max(source.Length, pattern.Length) instead. Default is 0, i.e. calculate the Levenshtein distance for all inputs.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also