actually, i had limitation that i could not add "copyField" on Master Index.
That master index is provided by 3rd party vendor & he is not willing to
make changes in that.

I need to add field in my own way so want to copy a new field while
replication


On Fri, Aug 5, 2011 at 1:03 PM, Shalin Shekhar Mangar <
shalinman...@gmail.com> wrote:

> On Fri, Aug 5, 2011 at 9:39 AM, Pawan Darira <pawan.dar...@gmail.com>
> wrote:
>
> >
> > I would like to know whether i can add new fields while replicating index
> > on
> > Slave. E.g. My Master has index with field "F1" which is created with
> type
> > "string". Now, i don't want "F1" as a type "string" & also have
> limitation
> > that i cannot change the field type at schema level.
> >
> > Now, if i replicate that index on Slave, can i use "<copyField>"
> attribute
> > to create a copy of field "F1" into field "F2". "F2" will be my field
> with
> > type "text" which i can use as per my requirement
> >
>
> No, it will not work. Solr replication works by copying pre-built indexes
> (or portions of it) from the master to the slaves. Therefore, adding a copy
> field on the slave will not actually change the index.
>
> Why not add the copy field on the master and the slaves?
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

Reply via email to