You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2008/11/08 08:36:11 UTC

[Solr Wiki] Update of "SolrReplication" by NoblePaul

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by NoblePaul:
http://wiki.apache.org/solr/SolrReplication

------------------------------------------------------------------------------
  {{{
  <requestHandler name="/replication" class="solr.ReplicationHandler" >
      <lst name="master">
-         <!--Replicate on 'optimize' it can also be  'commit' -->
+         <!--Replicate on 'optimize' it can also be  'commit' , 'startup'. It is possible to have mutiple entries  -->
          <str name="replicateAfter">commit</str>
          <!--If configuration files need to be replicated give the names here . comma separated -->
          <str name="confFiles">schema.xml,stopwords.txt,elevate.xml</str>
@@ -45, +45 @@

  </requestHandler>
  }}}
  
- note: A node can act as both master and slave . In that case both the configurations need to be present in the solrconfig.xml. Also, if you are not using cores, then you simply omit the "corename" parameter above in the masterUrl.
+ note: A node can act as both master and slave . In that case both the configurations need to be present in the solrconfig.xml. Also, if you are not using cores, then you simply omit the "corename" parameter above in the masterUrl.To ensure that the url is correct just hit the url with a browser. You must get a status OK response.
  
  
  = Replication Dashboard =