mocobeta commented on code in PR #904: URL: https://github.com/apache/lucene/pull/904#discussion_r877002862
########## lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianAnalyzer.java: ########## @@ -136,11 +121,7 @@ protected TokenStreamComponents createComponents(String fieldName) { * the order here is important: the stopword list is normalized with the * above! */ - result = new StopFilter(result, stopwords); - if (!stemExclusionSet.isEmpty()) { - result = new SetKeywordMarkerFilter(result, stemExclusionSet); - } - return new TokenStreamComponents(source, new PersianStemFilter(result)); + return new TokenStreamComponents(source, new StopFilter(result, stopwords)); Review Comment: OK, I'll update the javadocs in main later. -- 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: issues-unsubscr...@lucene.apache.org 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