mirror of https://github.com/apache/lucene.git
update comment
This commit is contained in:
parent
4842e0c9ca
commit
fb9805f4d3
|
@ -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 keys
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue