lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: How to add ASCIIFoldingFilter in ClassicAnalyzer
Date Tue, 11 Oct 2016 14:41:57 GMT

I forgot to include : .addTokenFilter("asciifolding")


On Tuesday, October 11, 2016 5:37 PM, Ahmet Arslan <> wrote:
Hi Kumaran,

Writing a custom analyzer is easier than it seems.

Please see how I added kstem to classic analyzer:

return CustomAnalyzer.builder()


On Tuesday, October 11, 2016 5:22 PM, Kumaran Ramasubramanian <> 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:
For additional commands, e-mail:

View raw message