Merge remote-tracking branch 'upstream/feature-suggest-refactoring' into term-suggest-build

This commit is contained in:
Ali Beyad 2016-02-09 18:26:14 -05:00
commit 04681ef616
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}
}