I would use a different field per language and use PerFieldAnalyzer indeed. This is also important for queries whose language is not always clear.
paul Le 9 févr. 2012 à 13:01, Vinaya Kumar Thimmappa a écrit : > Hello All, > > I have a requirement of using different analyzer per document. How can > we do this? > > My analyzer would be locale specific. > > I have a file with 10 lines, each with different language. Document > would be one line and I want analyzer to be changed based on the locale > of the line. Is this possible to do ? > > Thanks > Vinaya > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org