dweiss commented on code in PR #12464:
URL: https://github.com/apache/lucene/pull/12464#discussion_r1277381583
##########
lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/WordStorage.java:
##########
@@ -390,7 +391,7 @@ private int flushGroup() throws IOException {
if (++chainLengths[hash] > 20) {
throw new RuntimeException(
- "Too many collisions, please report this to
[email protected]");
Review Comment:
Yep, something like it. Maybe even provide some diagnostics?:
"Too many collisions. Try a larger Dictionary#hashFactor (now: " +
hashFactor() + "). If this doesn't help, please report this to
[email protected]"
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]