Package | Description |
---|---|
org.elasticsearch.search.suggest | |
org.elasticsearch.search.suggest.completion |
Modifier and Type | Method and Description |
---|---|
static CompletionSuggestionFuzzyBuilder |
SuggestBuilders.fuzzyCompletionSuggestion(String name)
Creates a fuzzy completion suggestion lookup query with the provided
name |
Modifier and Type | Method and Description |
---|---|
CompletionSuggestionFuzzyBuilder |
CompletionSuggestionFuzzyBuilder.setFuzziness(Fuzziness fuzziness)
Sets the level of fuzziness used to create suggestions using a
Fuzziness instance. |
CompletionSuggestionFuzzyBuilder |
CompletionSuggestionFuzzyBuilder.setFuzzyMinLength(int fuzzyMinLength)
Sets the minimum length of input string before fuzzy suggestions are returned, defaulting
to 3.
|
CompletionSuggestionFuzzyBuilder |
CompletionSuggestionFuzzyBuilder.setFuzzyPrefixLength(int fuzzyPrefixLength)
Sets the minimum length of the input, which is not checked for fuzzy alternatives, defaults to 1
|
CompletionSuggestionFuzzyBuilder |
CompletionSuggestionFuzzyBuilder.setFuzzyTranspositions(boolean fuzzyTranspositions)
Sets if transpositions (swapping one character for another) counts as one character
change or two.
|
CompletionSuggestionFuzzyBuilder |
CompletionSuggestionFuzzyBuilder.setUnicodeAware(boolean unicodeAware)
Set to true if all measurements (like edit distance, transpositions and lengths) are in unicode
code points (actual letters) instead of bytes.
|
Copyright © 2009–2015. All rights reserved.