Hi, 
We use Drupal as the CMS and Solr for our search engine needs and are
planning to have Solr Master-Slave replication setup across the data
centers. I am in the process of testing my replication - what is the
best means to delete the index on the Solr slave and then replicate a
fresh copy from Master?  We use Solr 1.3.

Thanks,
Sai Thumuluri

My Master solrconfig.xml is 

  <requestHandler name="/replication" class="solr.ReplicationHandler">
    <lst name="master">
      <str name="replicateAfter">startup</str>
      <str name="replicateAfter">commit</str>
      <str name="backupAfter">commit</str>
      <str
name="confFiles">schema.xml,synonyms.txt,stopwords.txt,elevate.xml</str>
    </lst>
  </requestHandler>

And my slave solrconfig.xml


  <requestHandler name="/replication" class="solr.ReplicationHandler">
    <lst name="slave">
      <str name="masterUrl">http://masterURL:8080/solr/replication</str>
      <str name="pollInterval">01:00:00</str>
    </lst>
  </requestHandler>

Reply via email to