lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe <>
Subject Re: Can solr index folder can be moved from one system to another?
Date Thu, 22 Mar 2012 12:22:52 GMT
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,

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.


On Thu, Mar 22, 2012 at 3:44 AM, ravicv <> wrote:

> Hi Tomás,
> I can not use Solr replcation in my scenario. My requirement is to gzip the
> 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:
> Sent from the Solr - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message