donnerpeter commented on a change in pull request #2457: URL: https://github.com/apache/lucene-solr/pull/2457#discussion_r588101236
########## File path: lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/GeneratingSuggester.java ########## @@ -152,7 +153,7 @@ private void filterSuitableEntries(String word, IntsRef forms, List<Root<String> for (String guess : expandRoot(weighted.word, misspelled)) { String lower = dictionary.toLowerCase(guess); int sc = - ngram(misspelled.length(), misspelled, lower, EnumSet.of(NGramOptions.ANY_MISMATCH)) + anyMismatchNgram(misspelled.length(), misspelled, lower, false) Review comment: `ANY_MISMATCH` is now baked into the method's name, `false` stands for lack of `WEIGHTED` option ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org