On 9/7/2011 3:18 PM, Pulkit Singhal wrote:
> Hello,
> 
> I'm working off the trunk and the following wiki link:
> http://wiki.apache.org/solr/SolrCloud
> 
> The wiki link has a section that seeks to quickly familiarize a user
> with replication in SolrCloud - "Example B: Simple two shard cluster
> with shard replicas"
> 
> But after going through it, I have to wonder if this is truly
> replication? 

Not really. Replication is not set up in the example.
The example use "replicas" as "copies", to demonstrate high search
availability.

> Because if it is truly replication then somewhere along
> the line, the following properties must have been set
> programmatically:
> replicateAfter, confFiles, masterUrl, pollInterval
> Can someone tell me: Where exactly in the code is this happening?

Nowhere.

If you want replication, you need to set all the properties you listed
in solrconfig.xml.

I've done it recently, see 
http://lucene.472066.n3.nabble.com/Replication-setup-with-SolrCloud-Zk-td2952602.html

Reply via email to