lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Solr Wiki] Update of "SolrReplication" by RasmusHahn
Date Tue, 08 Mar 2011 14:32:01 GMT
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 RasmusHahn.
The comment on this change is: api-command filecontent added.


   * Get list of lucene files present in the index: http://host:port/solr/replication?command=filelist&indexversion=<index-version-number>
. The version number can be obtained using the indexversion command
   * Disable replication on master for all slaves: http://master_host:port/solr/replication?command=disablereplication
   * Enable replication on master for all slaves: http://master_host:port/solr/replication?command=enablereplication
+  * Transfer a file from the master: http://master_host:port/solr/replication?command=filecontent&wt=filestream&indexversion=<index-version-number>
+   * index files use an additional parameter {{{file=<index-filename>}}}, configuration
files use an additional parameter {{{cf=<config-filename>}}} instead.
+   * file contents are transferred in a custom stream format.
  == enable/disable master/slave in a node ==
  If a server needs to be turned into a master from a slave or if you wish to use the same
solrconfig.xml for both master and slave, do as follows,

View raw message