TermSuggestionBuilder |
TermSuggestionBuilder.accuracy(float accuracy) |
s how similar the suggested terms at least need to be compared to the
original suggest text tokens.
|
static TermSuggestionBuilder |
TermSuggestionBuilder.fromXContent(XContentParser parser) |
|
TermSuggestionBuilder |
TermSuggestionBuilder.maxEdits(int maxEdits) |
Sets the maximum edit distance candidate suggestions can have in order to
be considered as a suggestion.
|
TermSuggestionBuilder |
TermSuggestionBuilder.maxInspections(int maxInspections) |
A factor that is used to multiply with the size in order to inspect more
candidate suggestions.
|
TermSuggestionBuilder |
TermSuggestionBuilder.maxTermFreq(float maxTermFreq) |
Sets a maximum threshold in number of documents a suggest text token can
exist in order to be corrected.
|
TermSuggestionBuilder |
TermSuggestionBuilder.minDocFreq(float minDocFreq) |
Sets a minimal threshold in number of documents a suggested term should
appear in.
|
TermSuggestionBuilder |
TermSuggestionBuilder.minWordLength(int minWordLength) |
The minimum length a suggest text term must have in order to be
corrected.
|
TermSuggestionBuilder |
TermSuggestionBuilder.prefixLength(int prefixLength) |
Sets the number of minimal prefix characters that must match in order be
a candidate suggestion.
|
TermSuggestionBuilder |
TermSuggestionBuilder.sort(SortBy sort) |
Sets how to sort the suggest terms per suggest text token.
|
TermSuggestionBuilder |
TermSuggestionBuilder.stringDistance(TermSuggestionBuilder.StringDistanceImpl stringDistance) |
Sets what string distance implementation to use for comparing how similar
suggested terms are.
|
TermSuggestionBuilder |
TermSuggestionBuilder.suggestMode(TermSuggestionBuilder.SuggestMode suggestMode) |
The global suggest mode controls what suggested terms are included or
controls for what suggest text tokens, terms should be suggested for.
|