You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/02/03 17:24:49 UTC

[GitHub] [lucene-solr] donnerpeter commented on a change in pull request #2295: LUCENE-9726: Hunspell: speed up spellchecking by stopping at a single…

donnerpeter commented on a change in pull request #2295:
URL: https://github.com/apache/lucene-solr/pull/2295#discussion_r569600411



##########
File path: lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/Stemmer.java
##########
@@ -319,6 +345,11 @@ private boolean containsSharpS(char[] word, int offset, int length) {
     return deduped;
   }
 
+  interface RootProcessor {
+    /** @return whether the processing should be continued */
+    boolean processRoot(char[] buffer, int offset, int length, IntsRef forms, int formID);

Review comment:
       Indeed the performance effects appear to be negligible, thanks!




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org