I guess the longer answer is it depends on the analyzer chain of Field 2.
As Gora mentions, fields are copied before analysis, so they are
re-analysed/tokenized in the destination field.  If the destination field
has different analysis rules, then those will be applied.

We explicitly use that benefit for some language specific fields, we have a
headline field (which uses basic tokenisation, minimal stemming, etc) and
headline_en, headline_fr, headline_de, etc which have language-specific
analysis rules.

Our data is indexed into headline_en, headline_fr (we know the language of
the headline externally, so we can do that in our indexing pipeline), and
we have a copyField from headline_en to headline and then we have 2
different indexed forms of the same data, one with language-specific rules,
and one with a more generic set which we can search separately.


On 4 June 2013 09:20, Gora Mohanty <g...@mimirtech.com> wrote:

> On 4 June 2013 13:45, sathish_ix <skandhasw...@inautix.co.in> wrote:
> > Hi ,
> >
> > Few question on copy field,
> >
> > When a field is edgeNgram and stored into a field (field 1 ),
> > EdgeNgram field (field 1)  is copied into another field  ( field 2 ) ,
> > will edgeNgram token will be stored in copyfield (field 2) ?
>
> Copyfields are copied before any analysers are applied,
> so no.
>
> Regards,
> Gora
>

Reply via email to