Hi,
I think changing analyzer per each document when indexing will lead
inconsistent or unstable search results.

I would break down the reason why this is needed.

> While adding a document we are adding a different analyzer.

If a field needs to be analyzed by multiple analyzer, I would split up
them to separate fields and use per-field analyzer.

Hope you'll find it helpful.

Tomoko
2018年11月6日(火) 7:03 Arpit Mittal <arpitmittal510466...@gmail.com>:
>
> Could you please help us on it? This is urgent for us?
>
> On Sun, Nov 4, 2018 at 10:04 PM Arpit Mittal <arpitmittal510466...@gmail.com>
> wrote:
>
> > Hi All,
> >
> > We are working on upgrading lucene version from 4.4.0 to 7.5.0.
> >
> > We have a few questions. Could you please help us by giving us suggestions
> > to fix it?
> >
> > Remove IndexWriter's per-document analyzer add/updateDocument APIs
> > https://issues.apache.org/jira/browse/LUCENE-6212
> >
> > We are using custom analyzer at the time of creation of index writer.
> > While adding a document we are adding a different analyzer. Could you
> > please provide us an alternative to fix it?
> >
> >
> > --
> > Thanks & Regards,
> > Arpit Mittal
> > 650-834-6540
> >
>
>
> --
> Thanks & Regards,
> Arpit Mittal
> 650-834-6540



-- 
Tomoko Uchida

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

Reply via email to