Re: How to add ASCIIFoldingFilter in ClassicAnalyzer

2016-10-20 Thread Kumaran Ramasubramanian
t; I'd suggest to use CustomAnalyzer for defining your own analyzer. This > > >> allows to build your own analyzer with the components (tokenizers and > > >> filters) you like to have. > > >> > > >> Uwe > > >> > > >> - > >

Re: How to add ASCIIFoldingFilter in ClassicAnalyzer

2016-10-19 Thread Adrien Grand
lows to build your own analyzer with the components (tokenizers and > >> filters) you like to have. > >> > >> Uwe > >> > >> - > >> Uwe Schindler > >> H.-H.-Meier-Allee 63, D-28213 Bremen > >> http://www.thetaphi.de > >> eMa

Re: How to add ASCIIFoldingFilter in ClassicAnalyzer

2016-10-18 Thread Kumaran Ramasubramanian
t;> Uwe Schindler >> H.-H.-Meier-Allee 63, D-28213 Bremen >> http://www.thetaphi.de >> eMail: u...@thetaphi.de >> >> > -Original Message- >> > From: Adrien Grand [mailto:jpou...@gmail.com] >> > Sent: Tuesday, October 11, 2016 4:37 PM >> > To: ja

Re: How to add ASCIIFoldingFilter in ClassicAnalyzer

2016-10-11 Thread Kumaran Ramasubramanian
etaphi.de > eMail: u...@thetaphi.de > > > -Original Message- > > From: Adrien Grand [mailto:jpou...@gmail.com] > > Sent: Tuesday, October 11, 2016 4:37 PM > > To: java-user@lucene.apache.org > > Subject: Re: How to add ASCIIFoldingFilter in ClassicAnalyzer > > >

RE: How to add ASCIIFoldingFilter in ClassicAnalyzer

2016-10-11 Thread Uwe Schindler
Original Message- > From: Adrien Grand [mailto:jpou...@gmail.com] > Sent: Tuesday, October 11, 2016 4:37 PM > To: java-user@lucene.apache.org > Subject: Re: How to add ASCIIFoldingFilter in ClassicAnalyzer > > Hi Kumaran, > > If it is fine to add the ascii folding f

Re: How to add ASCIIFoldingFilter in ClassicAnalyzer

2016-10-11 Thread Ahmet Arslan
Hi, I forgot to include : .addTokenFilter("asciifolding") Ahmet 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() .withTokenizer("classic"

Re: How to add ASCIIFoldingFilter in ClassicAnalyzer

2016-10-11 Thread Ahmet Arslan
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,

Re: How to add ASCIIFoldingFilter in ClassicAnalyzer

2016-10-11 Thread Adrien Grand
Hi Kumaran, If it is fine to add the ascii folding filter at the end of the analysis chain, then you could use AnalyzerWrapper. Otherwise, you need to create a new analyzer that has the same analysis chain as ClassicAnalyzer, plus an ASCIIFoldingFilter. Le mar. 11 oct. 2016 à 16:22, Kumaran Ramas