SOLR-3757: reduce confusion if people go to enable master/slave replication by only having a single /replication handler in the example config

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378387 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2012-08-28 23:50:38 +00:00
parent e70e2c6439
commit c53886d78e
1 changed files with 17 additions and 14 deletions

View File

@ -1104,30 +1104,33 @@
http://wiki.apache.org/solr/SolrReplication
In the example below, remove the <lst name="master"> section if
this is just a slave and remove the <lst name="slave"> section
if this is just a master.
It is also neccessary for SolrCloud to function (in Cloud mode, the
replication handler is used to bulk transfer segments when nodes
are added or need to recover).
https://wiki.apache.org/solr/SolrCloud/
-->
<!--
<requestHandler name="/replication" class="solr.ReplicationHandler" >
<requestHandler name="/replication" class="solr.ReplicationHandler" >
<!--
To enable simple master/slave replication, uncomment one of the
sections below, depending on wether this solr instance should be
the "master" or a "slave". If this instance is a "slave" you will
also need to fill in the masterUrl to point to a real machine.
-->
<!--
<lst name="master">
<str name="replicateAfter">commit</str>
<str name="replicateAfter">startup</str>
<str name="confFiles">schema.xml,stopwords.txt</str>
</lst>
-->
<!--
<lst name="slave">
<str name="masterUrl">http://localhost:8983/solr</str>
<str name="masterUrl">http://your-master-hostname:8983/solr</str>
<str name="pollInterval">00:00:60</str>
</lst>
</requestHandler>
-->
<!-- Solr Replication for SolrCloud Recovery
This is the config need for SolrCloud's recovery replication.
-->
<requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy" />
</requestHandler>
<!-- Search Components