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

------------------------------------------------------------------------------
  
  = Configuration =
  
- Replication feature is implemented as a !RequestHandler .So, the 
configuration is similar to any normal !RequestHandler
+ Replication feature is implemented as a !RequestHandler. So, the 
configuration is similar to any normal !RequestHandler
  
  === in master: ===
  {{{
@@ -43, +43 @@

  {{{
  <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 snappull command-->
          <str 
name="masterUrl">http://localhost:port/solr/corename/replication</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 snappull can be triggered from the admin or the http API -->
          <str name="pollInterval">00:00:20</str>  
+ 
          <!--to use compression while transferring the index files. The 
possible values are internal|external
           if the value is 'external' make sure that your master Solr has the 
settings to honour the accept-encoding header.
           see here for details http://wiki.apache.org/solr/SolrHttpCompression
           If it is 'internal' everything will be taken care of automatically. 
           USE THIS ONLY IF YOUR BANDWIDTH IS LOW-->
          <str name="compression">internal</str>
+ 
       </lst>
  </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.To ensure that the url is correct just hit the url with a browser. 
You must get a status OK response.
+ note: A node can act as both master and slave . In that case both the master 
and slave configuration lists need to be present inside the ReplicationHandler 
requestHandler 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 =

Reply via email to