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 2009/02/12 10:50:59 UTC

[Solr Wiki] Update of "SolrReplication" by akshayukey

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 akshayukey:
http://wiki.apache.org/solr/SolrReplication

------------------------------------------------------------------------------
  {{{
  <requestHandler name="/replication" class="solr.ReplicationHandler" >
      <lst name="master">
-         <!--Replicate on 'optimize' it can also be  'commit' , 'startup'. It is possible to have mutiple entries  -->
+         <!--Replicate on 'optimize'. Other values can be 'commit', 'startup'. It is possible to have mutiple entries of this config string-->
          <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>
@@ -28, +28 @@

  </requestHandler>
  }}}
  
+ '''Note:'''
- note: If your commits are very frequent and network is particularly slow you can tweak an extra attribute {{{<str name="commitReserveDuration">00:00:10</str>}}}. This is roughly the time taken to download 5MB from master to slave. Default is 10 secs
+  * If your commits are very frequent and network is particularly slow you can tweak an extra attribute {{{<str name="commitReserveDuration">00:00:10</str>}}}. This is roughly the time taken to download 5MB from master to slave. Default is 10 secs.
+ * If you are using 'startup' option for replicateAfter, it is necessary to use 'commit'/'optimize' option with it, since replication will not be triggered on subsequent commits/optimizes after replication is done for the first time by 'startup' option.
  
  ==== Replicating solrconfig.xml ====
  In the master configuration