Merge remote-tracking branch 'upstream/feature-suggest-refactoring' into term-suggest-build
This commit is contained in:
commit
04681ef616
|
@ -587,6 +587,8 @@ public class TermSuggestionBuilder extends SuggestionBuilder<TermSuggestionBuild
|
|||
return LEVENSTEIN;
|
||||
case "ngram":
|
||||
return NGRAM;
|
||||
case "jarowinkler":
|
||||
return JAROWINKLER;
|
||||
default: throw new IllegalArgumentException("Illegal distance option " + str);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue