Click or drag to resize

LevenshteinOptions Class

Represents the options for calculating the Levenshtein distance.
Inheritance Hierarchy
SystemObject
  SphinxConnector.FluentApiLevenshteinOptions

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.0.0
Syntax
[SerializableAttribute]
public class LevenshteinOptions

The LevenshteinOptions type exposes the following members.

Constructors
 NameDescription
Public methodLevenshteinOptionsInitializes a new instance of the LevenshteinOptions class
Top
Properties
 NameDescription
Public propertyLengthDelta 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.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
Supported with Manticore Search 4.0.2 and up.
See Also