mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
[DOCS] Document the string_distance
parameter for term suggestor
This commit is contained in:
parent
11f5a2ebaf
commit
50d184066f
@ -108,3 +108,15 @@ doesn't take the query into account that is part of request.
|
||||
usually spelled correctly on top of this also improves the spellcheck
|
||||
performance. The shard level document frequencies are used for this
|
||||
option.
|
||||
|
||||
`string_distance`::
|
||||
Which string distance implementation to use for comparing how similar
|
||||
suggested terms are. Five possible values can be specfied:
|
||||
`internal` - The default based on damerau_levenshtein but highly optimized
|
||||
for comparing string distancee for terms inside the index.
|
||||
`damerau_levenshtein` - String distance algorithm based on
|
||||
Damerau-Levenshtein algorithm.
|
||||
`levenstein` - String distance algorithm based on Levenstein edit distance
|
||||
algorithm.
|
||||
`jarowinkler` - String distance algorithm based on Jaro-Winkler algorithm.
|
||||
`ngram` - String distance algorithm based on character n-grams.
|
||||
|
Loading…
x
Reference in New Issue
Block a user