[DOCS] Document the string_distance parameter for term suggestor

This commit is contained in:
Lee Hinman 2016-01-21 10:00:46 -07:00
parent 11f5a2ebaf
commit 50d184066f

View File

@ -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.