lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francisco A. Lozano" <floz...@gmail.com>
Subject Re: analyzer per document
Date Thu, 09 Feb 2012 12:11:32 GMT
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@ariba.com> 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@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message