Enum StringDistance
String distance implementation to use for comparing how similar suggested terms are
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public enum StringDistance
Fields
Name | Description |
---|---|
DamerauLevenshtein | String distance algorithm based on Damerau-Levenshtein algorithm. |
Internal | The default based on damerau_levenshtein but highly optimized for comparing string distance for terms inside the index. |
Jarowinkler | String distance algorithm based on Jaro-Winkler algorithm. |
Levenshtein | String distance algorithm based on Levenshtein edit distance algorithm. |
Ngram | String distance algorithm based on character n-grams. |