Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 156349F99 for ; Thu, 22 Mar 2012 12:23:22 +0000 (UTC) Received: (qmail 99254 invoked by uid 500); 22 Mar 2012 12:23:18 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 99201 invoked by uid 500); 22 Mar 2012 12:23:18 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 99192 invoked by uid 99); 22 Mar 2012 12:23:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2012 12:23:18 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tomasflobbe@gmail.com designates 209.85.212.48 as permitted sender) Received: from [209.85.212.48] (HELO mail-vb0-f48.google.com) (209.85.212.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2012 12:23:13 +0000 Received: by vbjk17 with SMTP id k17so1496909vbj.35 for ; Thu, 22 Mar 2012 05:22:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=mtTtenIvcgg44tER5qAE//v/GYszLpS/SGWhUwluGyo=; b=NZRJTo2hQWcyhHO6fHI6+pby5sk3lP2ANjQT6Ajs+3OQlyTTBlwzEC95qYwhY78uQw bCEAlC+PpKjPQ8AsyFQvHcn12yNiWY3cH81iaw7cLreZvjGgmnhQL4O+sF6gI1nQuCL7 k9IJNHXGAcInZT2xXL4oxeJP7IGg3n+hhotb1IF3eyqdQKPgLPrYl4x1LXT8ZDyP9Qjh SRfYFC6TNtW14gFF/cbNtDUPGc9FfG1e/jWDDY2ydWkoHKWmqmtT+gFVUgmgby3Tv8ps oC3rkcHDlmvuJG2HxOtocVQTiCP2y2LpUzMS/bruATqOiUzWPJ2LOGUfAtHZ8lQLDPVL MQHQ== MIME-Version: 1.0 Received: by 10.52.93.77 with SMTP id cs13mr3050558vdb.71.1332418972622; Thu, 22 Mar 2012 05:22:52 -0700 (PDT) Received: by 10.220.48.72 with HTTP; Thu, 22 Mar 2012 05:22:52 -0700 (PDT) In-Reply-To: <1332398672247-3847725.post@n3.nabble.com> References: <1332317251227-3844919.post@n3.nabble.com> <1332398672247-3847725.post@n3.nabble.com> Date: Thu, 22 Mar 2012 09:22:52 -0300 Message-ID: Subject: Re: Can solr index folder can be moved from one system to another? From: =?ISO-8859-1?Q?Tom=E1s_Fern=E1ndez_L=F6bbe?= To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=bcaec501652f8e1f4704bbd3f777 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec501652f8e1f4704bbd3f777 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable When you say "and send to dotnet system through webservice", you mean that the client will be dotnet, but Solr is still going to be Solr, in Java, right? I'm sure that if you stop Solr, change the "index" directory (like if you unzip the one you brought from the other server) and start Solr again, you will see the new index without a problem. You could probably do some work with cores (like creating a new core every time you need to install a new index and then swapping cores) or do something like what the replication code does, uncompress the gzip file in a temp directory copy the files to the real index directory (leaving the segments_ file to the end) and the issue a commit (see the method copyIndexFiles of the SnapPuller class) However, before doing all this, are you sure that you can't use the regular replication? all these is basically what the replication feature does. Tom=E1s On Thu, Mar 22, 2012 at 3:44 AM, ravicv wrote: > Hi Tom=E1s, > > I can not use Solr replcation in my scenario. My requirement is to gzip t= he > solr index folder and send to dotnet system through webservice. > Then in dotnet the same index folder should be unzipped and same folder > should be used as an index folder through solrnet . > > Whether my requirement is possible? > > Thanks > Ravi > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Can-solr-index-folder-can-be-moved-fro= m-one-system-to-another-tp3844919p3847725.html > Sent from the Solr - User mailing list archive at Nabble.com. > --bcaec501652f8e1f4704bbd3f777--