Closed markpapadakis closed 10 years ago
You should use parenthesis to resolve ambiguity here: else if (len > 4 && endsWith(..) .. to else if (len > 4 && (endsWith(..) ...
https://github.com/skroutz/elasticsearch-skroutz-greekstemmer/blob/master/src/main/java/org/elasticsearch/index/analysis/SkroutzGreekStemmer.java#L813
Thank you for reporting it!
You should use parenthesis to resolve ambiguity here: else if (len > 4 && endsWith(..) .. to else if (len > 4 && (endsWith(..) ...
https://github.com/skroutz/elasticsearch-skroutz-greekstemmer/blob/master/src/main/java/org/elasticsearch/index/analysis/SkroutzGreekStemmer.java#L813