Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (20 sloc) 1000 Bytes

Glossary: SuggestionQuery

Properties

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)

Members

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
You can’t perform that action at this time.