mirror of https://github.com/apache/lucene.git
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:
parent
e70e2c6439
commit
c53886d78e
|
@ -1104,30 +1104,33 @@
|
||||||
|
|
||||||
http://wiki.apache.org/solr/SolrReplication
|
http://wiki.apache.org/solr/SolrReplication
|
||||||
|
|
||||||
In the example below, remove the <lst name="master"> section if
|
It is also neccessary for SolrCloud to function (in Cloud mode, the
|
||||||
this is just a slave and remove the <lst name="slave"> section
|
replication handler is used to bulk transfer segments when nodes
|
||||||
if this is just a master.
|
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">
|
<lst name="master">
|
||||||
<str name="replicateAfter">commit</str>
|
<str name="replicateAfter">commit</str>
|
||||||
<str name="replicateAfter">startup</str>
|
<str name="replicateAfter">startup</str>
|
||||||
<str name="confFiles">schema.xml,stopwords.txt</str>
|
<str name="confFiles">schema.xml,stopwords.txt</str>
|
||||||
</lst>
|
</lst>
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
<lst name="slave">
|
<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>
|
<str name="pollInterval">00:00:60</str>
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
|
||||||
-->
|
-->
|
||||||
|
</requestHandler>
|
||||||
<!-- Solr Replication for SolrCloud Recovery
|
|
||||||
|
|
||||||
This is the config need for SolrCloud's recovery replication.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Search Components
|
<!-- Search Components
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue