Hi everyone,
I am trying migrate es from version 2.4 to 5.6 and I have problem with understanding fuzzy options in CompletionSuggestionBuilder. Before upgrade we used api in the way
CompletionSuggestionFuzzyBuilder(suggestion.name).text(suggestion.text).size(suggestion.size)
Of course I had to adjust name which is now parameter in SuggestBuilder.addSuggestion. During next step I'd like to adjust fuzzy options. In 5.6 java client I don't have CompletionSuggestionFuzzyBuilder, but I can set Fuzziness in CompletionSuggestionBuilder. My question is :
- Why is it possible only in method prefix?
- (maybe related) What is the difference between method text and prefix. (earlier we used text method).
I've tried to find useful information in documentation, release notes etc, also analyzed code but it is hard, because changes in this module (suggestions) are huge.
Thanks for your help!