Levenshtein Options Class
Represents the options for calculating the Levenshtein distance.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
[SerializableAttribute]
public class LevenshteinOptionsVB
<SerializableAttribute>
Public Class LevenshteinOptions- Inheritance
- Object LevenshteinOptions
Remarks
Supported with Manticore Search 4.0.2 and up.
Constructors
| LevenshteinOptions | Initializes 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
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |