ASCIIFoldingFilter

2016-11-17 Thread Julian Motz
Hello together, We're currently discussing <https://github.com/diacritics/database/issues/1> about the usage of the ASCIIFoldingFilter <https://lucene.apache.org/core/3_6_2/api/core/org/apache/lucene/analysis/ASCIIFoldingFilter.html> class in our diacritics project. Thi

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: [email protected] >> >> > -Original Message- >> > From: Adrien Grand [mailto:[email protected]] >> > 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: [email protected] > > > -Original Message- > > From: Adrien Grand [mailto:[email protected]] > > Sent: Tuesday, October 11, 2016 4:37 PM > > To: [email protected] > > 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:[email protected]] > Sent: Tuesday, October 11, 2016 4:37 PM > To: [email protected] > 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
r("classic") .addTokenFilter("classic") .addTokenFilter("lowercase") .addTokenFilter("kstem") .build(); Ahmet On Tuesday, October 11, 2016 5:22 PM, Kumaran Ramasubramanian wrote: Hi All, Is there any way to add ASCIIFoldingFilter over ClassicAnalyze

Re: How to add ASCIIFoldingFilter in ClassicAnalyzer

2016-10-11 Thread Ahmet Arslan
uild(); Ahmet 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

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

How to add ASCIIFoldingFilter in ClassicAnalyzer

2016-10-11 Thread Kumaran Ramasubramanian
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

Re: Using an AnalyzerWrapper with ASCIIFoldingFilter

2013-03-15 Thread Steven Schlansker
On Mar 15, 2013, at 11:25 AM, "Uwe Schindler" wrote: > Hi, > > The API did not really change. The API definitely did change, as before you would override the now-final tokenStream method. But you are correct that this was not the root of the problem. > The bug is in your test: > If you wou

RE: Using an AnalyzerWrapper with ASCIIFoldingFilter

2013-03-15 Thread Uwe Schindler
3, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -Original Message- > From: Steven Schlansker [mailto:[email protected]] > Sent: Friday, March 15, 2013 7:18 PM > To: [email protected] > Subject: Using an AnalyzerWrapper with ASCIIFoldingFilter

Using an AnalyzerWrapper with ASCIIFoldingFilter

2013-03-15 Thread Steven Schlansker
Hi everyone, I am trying to port forward to 4.2 some Lucene 3.2-era code that uses the ASCIIFoldingFilter. The token stream handling has changed significantly since them, and I cannot figure out what I am doing wrong. It seems that I should extend AnalyzerWrapper so that I can intercept the