On Fri, Aug 5, 2011 at 9:39 AM, Pawan Darira <[email protected]> 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