Re: Changing analyzer in an indexwriter

2015-04-19 Thread Ahmet Arslan
Hi Lisa, I think AnalyzerWrapper https://lucene.apache.org/core/4_0_0/core/org/apache/lucene/analysis/AnalyzerWrapper.html Ahmet On Sunday, April 19, 2015 1:37 PM, Lisa Ziri wrote: Hi, I'm upgrading to lucene 5.1.0 from lucene 4. In our index we have documents in different languages which are

Changing analyzer in an indexwriter

2015-04-19 Thread Lisa Ziri
Hi, I'm upgrading to lucene 5.1.0 from lucene 4. In our index we have documents in different languages which are analyzed with the correct analyzer. We used the method addDocument of IndexWriter giving the correct analyzer for every different document. Now I see that I can define the analyzer used