donnerpeter commented on a change in pull request #3: URL: https://github.com/apache/lucene/pull/3#discussion_r591532603
########## File path: lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/GeneratingSuggester.java ########## @@ -65,6 +65,7 @@ TrigramAutomaton automaton = new TrigramAutomaton(word); dictionary.words.processAllWords( + Math.max(1, word.length() - 4), Review comment: We now pass minLength in addition to maxLength ---------------------------------------------------------------- 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