donnerpeter commented on a change in pull request #2457: URL: https://github.com/apache/lucene-solr/pull/2457#discussion_r588099915
########## File path: lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/Dictionary.java ########## @@ -1025,6 +1025,7 @@ private int writeNormalizedWordEntry(StringBuilder reuse, ByteSequencesWriter wr assert morphSep > 0; assert morphSep > flagSep; int sep = flagSep < 0 ? morphSep : flagSep; + if (sep == 0) return 0; Review comment: We don't store empty dictionary entries anymore: they bring no benefits, only trouble. ---------------------------------------------------------------- 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