Hi Kumaran, Writing a custom analyzer is easier than it seems.
Please see how I added kstem to classic analyzer: return CustomAnalyzer.builder() .withTokenizer("classic") .addTokenFilter("classic") .addTokenFilter("lowercase") .addTokenFilter("kstem") .build(); Ahmet On Tuesday, October 11, 2016 5:22 PM, Kumaran Ramasubramanian <kums....@gmail.com> wrote: Hi All, Is there any way to add ASCIIFoldingFilter over ClassicAnalyzer without writing a new custom analyzer ? should i extend StopwordAnalyzerBase again? I know that ClassicAnalyzer is final. any special purpose for making it as final? Because, StandardAnalyzer was not final before ? public final class ClassicAnalyzer extends StopwordAnalyzerBase > -- Kumaran R --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org