You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2013/04/23 23:21:34 UTC
[Solr Wiki] Update of "SolrReplication" by EricPugh
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "SolrReplication" page has been changed by EricPugh:
http://wiki.apache.org/solr/SolrReplication?action=diff&rev1=90&rev2=91
Comment:
The /replication in the masterUrl is now assumed in 4.x
<requestHandler name="/replication" class="solr.ReplicationHandler" >
<lst name="slave">
- <!--fully qualified url for the replication handler of master . It is possible to pass on this as a request param for the fetchindex command-->
+ <!--fully qualified url to the master core. It is possible to pass on this as a request param for the fetchindex command-->
- <str name="masterUrl">http://master_host:port/solr/corename/replication</str>
+ <str name="masterUrl">http://master_host:port/solr/corename</str>
<!--Interval in which the slave should poll master .Format is HH:mm:ss . If this is absent slave does not poll automatically.
But a fetchindex can be triggered from the admin or the http API -->
@@ -104, +104 @@
<str name="confFiles">schema.xml,stopwords.txt,synonyms.txt</str>
</lst>
<lst name="slave">
- <str name="masterUrl">http://master.solr.company.com:8080/solr/replication</str>
+ <str name="masterUrl">http://master.solr.company.com:8080/solr</str>
<str name="pollInterval">00:00:60</str>
</lst>
</requestHandler>
@@ -122, +122 @@
</lst>
<lst name="slave">
<str name="enable">${enable.slave:false}</str>
- <str name="masterUrl">http://master_host:8983/solr/replication</str>
+ <str name="masterUrl">http://master_host:8983/solr</str>
<str name="pollInterval">00:00:60</str>
</lst>
</requestHandler>
@@ -167, +167 @@
{{{
<requestHandler name="/replication" class="solr.ReplicationHandler" >
<lst name="slave">
- <str name="masterUrl">http://${MASTER_CORE_URL}/${solr.core.name}/replication</str>
+ <str name="masterUrl">http://${MASTER_CORE_URL}/${solr.core.name}</str>
<str name="pollInterval">${POLL_TIME}</str>
</lst>
</requestHandler>