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
Hi, The API did not really change. The bug is in your test: If you would carefully read the javadocs of the TokenStream interface, you would notice that your consumer does not follow the correct workflow: http://lucene.apache.org/core/4_2_0/core/org/apache/lucene/analysis/TokenStream.html In sh