Apache Lucene open-source search software
update comment
Peter Gromovfb9805f4d343
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/GeneratingSuggester.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/GeneratingSuggester.javaindex 3c508ba5f10..68af022011a 100644--- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/GeneratingSuggester.java+++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/GeneratingSuggester.java@@ -71,7 +71,7 @@ class GeneratingSuggester {assert rootChars.length > 0;if (Math.abs(rootChars.length - word.length()) > MAX_ROOT_LENGTH_DIFF) {- assert rootChars.length < word.length(); // nextKey takes care of longer keys+ assert rootChars.length < word.length(); // processAllWords takes care of longer keysreturn;}