
flozano at gmail
Feb 9, 2012, 4:11 AM
Post #2 of 3
(153 views)
Permalink
|
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 <vthimmappa [at] ariba> 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: java-user-unsubscribe [at] lucene > For additional commands, e-mail: java-user-help [at] lucene > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe [at] lucene For additional commands, e-mail: java-user-help [at] lucene
|