rmuir commented on code in PR #904:
URL: https://github.com/apache/lucene/pull/904#discussion_r877000127
##########
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:
I guess no javadocs changes were needed for this method because they never
got updated in the first place :) Maybe something to fix in 10.x.
--
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]