Re: analyzer per document

2012-02-09 Thread Paul Libbrecht
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 docu

Re: analyzer per document

2012-02-09 Thread Francisco A. Lozano
Why don't you store each "file" in a single document, add a field for each "line" and use a PerFieldAnalyzerWrapper? Francisco A. Lozano On Thu, Feb 9, 2012 at 13:01, Vinaya Kumar Thimmappa wrote: > Hello All, > > I have a requirement of using different anal

analyzer per document

2012-02-09 Thread Vinaya Kumar Thimmappa
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