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;
|
return LEVENSTEIN;
|
||||||
case "ngram":
|
case "ngram":
|
||||||
return NGRAM;
|
return NGRAM;
|
||||||
|
case "jarowinkler":
|
||||||
|
return JAROWINKLER;
|
||||||
default: throw new IllegalArgumentException("Illegal distance option " + str);
|
default: throw new IllegalArgumentException("Illegal distance option " + str);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue