see on GitHub

Glossary : SuggestionQuery


Name Type Description
Term string The term is what the user likely entered, and will used as the basis of the suggestions
Field string The field to be used in conjunction with the index
MaxSuggestions int The number of suggestions to return
Distance StringDistanceTypes? The string distance algorithm
Accuracy float? The accuracy
Popularity bool Whatever to return the terms in order of popularity

StringDistanceTypes (enum)


Name Description
None Default, suggestion is not active
Default Default, equivalent to Levenshtein
Levenshtein Levenshtein distance algorithm (default)
JaroWinkler JaroWinkler distance algorithm
NGram NGram distance algorithm