lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <>
Subject Re: Copy Fields while Replication
Date Fri, 05 Aug 2011 07:33:56 GMT
On Fri, Aug 5, 2011 at 9:39 AM, Pawan Darira <> 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?

Shalin Shekhar Mangar.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message