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 Torlaf15 <fe...@hotmail.de> on 2012/02/04 20:11:47 UTC

Copy Index from Solr 3.2.0 to Solr 3.4.0

Hallo,

I hope somebody can help me.

My Question:
Is it possible to copy the directory /solr/data/index from  indexed from
Solrversion 3.2.0 to Solr 3.4.0.

I want to use the new Solr-Version and want to put the Index from the old
one to the new Solr 3.4.0

Please forgive my bad english

Greeds
Toralf

--
View this message in context: http://lucene.472066.n3.nabble.com/Copy-Index-from-Solr-3-2-0-to-Solr-3-4-0-tp3716021p3716021.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Copy Index from Solr 3.2.0 to Solr 3.4.0

Posted by Jan Høydahl <ja...@cominvent.com>.
Hi,

Yes, you may do this as a WAR upgrade. You may easily test this on a test copy of your index, and it should work just fine. Be aware though that once you have upgraded, you cannot go back. From Solr3.4.0's CHANGES.TXT:

* The Lucene index format has changed and as a result, once you upgrade,
  previous versions of Solr will no longer be able to read your indices.
  In a master/slave configuration, all searchers/slaves should be upgraded
  before the master.  If the master were to be updated first, the older
  searchers would not be able to read the new index format.

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com

On 4. feb. 2012, at 20:11, Torlaf15 wrote:

> Hallo,
> 
> I hope somebody can help me.
> 
> My Question:
> Is it possible to copy the directory /solr/data/index from  indexed from
> Solrversion 3.2.0 to Solr 3.4.0.
> 
> I want to use the new Solr-Version and want to put the Index from the old
> one to the new Solr 3.4.0
> 
> Please forgive my bad english
> 
> Greeds
> Toralf
> 
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Copy-Index-from-Solr-3-2-0-to-Solr-3-4-0-tp3716021p3716021.html
> Sent from the Solr - User mailing list archive at Nabble.com.