Re: Upgrading Lucene from 3.5 to 4.10 - how to handle Java API changes

2015-01-11 Thread Martin Wunderlich
Hi Uwe, Thanks a lot for the detailed reply. I'll see how far I get with it, but being quite new to Lucene, it seems I am lacking a bit of background information to fully understand the response below. In particular, I need to do some background reading on how token streams and readers work, I

RE: Upgrading Lucene from 3.5 to 4.10 - how to handle Java API changes

2015-01-11 Thread Uwe Schindler
Hi, First, there is also a migrate guide next to the changes log: http://lucene.apache.org/core/4_10_3/MIGRATE.html 1. If you implement analyzer, you have to override createComponents() which return TokenStreamComponents objects. See other Analyzer’s source code to understand how to use