On 4/28/2014 3:33 AM, Amanjit Gill wrote:
> Hi everybody,
> 
> Considering a solr cloud configuration (4.6+)
> 
> a) I am wondering if the solr replication handler always has to be
> configured completely, aka by choosing one master, then setting the config
> accordingly (enable, masterUrl) etc ...  Do we really need a replication
> master?


You simply need the replication handler to be present with a name of
"/replication" for SolrCloud to work properly.  You do not need to
configure it for master or slave.  SolrCloud will take care of
configuring which instance needs to be a slave whenever it needs to
recover an index.  You literally just need one line in your solrconfig.xml:

  <requestHandler name="/replication" class="solr.ReplicationHandler" />

Thanks,
Shawn

Reply via email to