Hi,
I forgot to include : .addTokenFilter("asciifolding")
Ahmet
On Tuesday, October 11, 2016 5:37 PM, Ahmet Arslan <[email protected]> wrote:
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
<[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]