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



##########
File path: 
lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/Stemmer.java
##########
@@ -698,15 +688,6 @@ private boolean applyAffix(
             }
           }
 
-          // if circumfix was previously set by a prefix, we must check this 
suffix,
-          // to ensure it has it, and vice versa
-          if (dictionary.circumfix != Dictionary.FLAG_UNSET) {

Review comment:
       moved into `skipLookup`, as this check is independent of the loop 
variable




----------------------------------------------------------------
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

Reply via email to