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 <[email protected]> wrote: > 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: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
