Return-Path: Delivered-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Received: (qmail 68680 invoked from network); 8 Mar 2011 14:32:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Mar 2011 14:32:24 -0000 Received: (qmail 70149 invoked by uid 500); 8 Mar 2011 14:32:24 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 70117 invoked by uid 500); 8 Mar 2011 14:32:24 -0000 Mailing-List: contact solr-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-commits@lucene.apache.org Received: (qmail 70110 invoked by uid 99); 8 Mar 2011 14:32:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2011 14:32:24 +0000 X-ASF-Spam-Status: No, hits=-1996.4 required=5.0 tests=ALL_TRUSTED,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2011 14:32:22 +0000 Received: from eosnew.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 581B2399; Tue, 8 Mar 2011 14:32:01 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Tue, 08 Mar 2011 14:32:01 -0000 Message-ID: <20110308143201.47602.46311@eosnew.apache.org> Subject: =?utf-8?q?=5BSolr_Wiki=5D_Update_of_=22SolrReplication=22_by_RasmusHahn?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for chan= ge notification. The "SolrReplication" page has been changed by RasmusHahn. The comment on this change is: api-command filecontent added. http://wiki.apache.org/solr/SolrReplication?action=3Ddiff&rev1=3D70&rev2=3D= 71 -------------------------------------------------- * Get list of lucene files present in the index: http://host:port/solr/r= eplication?command=3Dfilelist&indexversion=3D . The v= ersion number can be obtained using the indexversion command * Disable replication on master for all slaves: http://master_host:port/= solr/replication?command=3Ddisablereplication * Enable replication on master for all slaves: http://master_host:port/s= olr/replication?command=3Denablereplication + * Transfer a file from the master: http://master_host:port/solr/replicat= ion?command=3Dfilecontent&wt=3Dfilestream&indexversion=3D + * index files use an additional parameter {{{file=3D}}}= , configuration files use an additional parameter {{{cf=3D= }}} instead. + * file contents are transferred in a custom stream format. + = = =3D=3D enable/disable master/slave in a node =3D=3D 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,