You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by ScottFree <sc...@gmail.com> on 2014/05/29 00:53:35 UTC
Transfer Existing Index to Core with Clean Index
Hello Solr Community!
I'm very new at Solr, and I have an issue I can't get around. I did a
'full-import' command on an existing solr server, but forgot to specify
'clean=false', so the entire index ended up getting deleted.
Luckily for me, I had previously made a copy of the index in case something
of this nature would happen.
How am I able to get the server to re-recognize its old index?
Thanks you very much! This whole thing has been very stressful :P
--
View this message in context: http://lucene.472066.n3.nabble.com/Transfer-Existing-Index-to-Core-with-Clean-Index-tp4138530.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Transfer Existing Index to Core with Clean Index
Posted by ScottFree <sc...@gmail.com>.
I managed to figure it out! I did a full commit to the index by:
1. Creating an update.xml file with the commands:
<commit/>
<optimize/>
... with the pasted index in the data folder.
2. Running the command from the web browser:
<host><port>/solr/update?commit=true
--
View this message in context: http://lucene.472066.n3.nabble.com/Transfer-Existing-Index-to-Core-with-Clean-Index-tp4138530p4138675.html
Sent from the Solr - User mailing list archive at Nabble.com.