You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jamie Johnson <je...@gmail.com> on 2011/09/09 22:48:36 UTC

SolrCloud and replica question

When doing writes do all writes need to be done to the primary shard
or are writes that are done to the replica also pushed to all replicas
of that shard?

Re: SolrCloud and replica question

Posted by Jamie Johnson <je...@gmail.com>.
great, thanks Yury, that's what I thought but just wanted to verify.

2011/9/9 Yury Kats <yu...@yahoo.com>:
> On 9/9/2011 4:48 PM, Jamie Johnson wrote:
>> When doing writes do all writes need to be done to the primary shard
>> or are writes that are done to the replica also pushed to all replicas
>> of that shard?
>>
>
> If you have replication setup between cores, all changes to the
> slave will be overwritten by replication. Therefore it makes sense
> to submit docs for indexing only to the master cores
>

Re: SolrCloud and replica question

Posted by Yury Kats <yu...@yahoo.com>.
On 9/9/2011 4:48 PM, Jamie Johnson wrote:
> When doing writes do all writes need to be done to the primary shard
> or are writes that are done to the replica also pushed to all replicas
> of that shard?
> 

If you have replication setup between cores, all changes to the
slave will be overwritten by replication. Therefore it makes sense
to submit docs for indexing only to the master cores