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 Tommaso Teofili <to...@gmail.com> on 2011/09/19 18:17:45 UTC

Different Solr versions between Master and Slave(s)

Hi all,
while thinking about a migration plan of a Solr 1.4.1 master / slave
architecture (1 master with N slaves already in production) to Solr 3.x I
imagined to go for a graceful migration, starting with migrating only
one/two slaves, making the needed tests on those while still offering the
indexing and searching capabilities on top of the 1.4.1 instances.
I did a small test of this migration plan but I see that the 'javabin'
format used by the replication handler has changed (version 1 in 1.4.1,
version 2 in 3.x) so the slaves at 3.x seem not able to replicate from the
master (at 1.4.1).
Is it possible to use the older 'javabin' version in order to enable
replication from the master at 1.4.1 towards the slave at 3.x ?
Or is there a better migration approach that sounds better for the above
scenario?
Thanks in advance for your help.
Cheers,
Tommaso

Re: Different Solr versions between Master and Slave(s)

Posted by Markus Jelsma <ma...@openindex.io>.
The javabin versions are not compatible as well as the index format. I don't 
think it will even work.

Can you not reindex the master on a 3.x version?

On Monday 19 September 2011 18:17:45 Tommaso Teofili wrote:
> Hi all,
> while thinking about a migration plan of a Solr 1.4.1 master / slave
> architecture (1 master with N slaves already in production) to Solr 3.x I
> imagined to go for a graceful migration, starting with migrating only
> one/two slaves, making the needed tests on those while still offering the
> indexing and searching capabilities on top of the 1.4.1 instances.
> I did a small test of this migration plan but I see that the 'javabin'
> format used by the replication handler has changed (version 1 in 1.4.1,
> version 2 in 3.x) so the slaves at 3.x seem not able to replicate from the
> master (at 1.4.1).
> Is it possible to use the older 'javabin' version in order to enable
> replication from the master at 1.4.1 towards the slave at 3.x ?
> Or is there a better migration approach that sounds better for the above
> scenario?
> Thanks in advance for your help.
> Cheers,
> Tommaso

-- 
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350

Re: Different Solr versions between Master and Slave(s)

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Tommaso,

We had a client (Italians, your countrymen, as a matter of fact) several months ago that we migrated from 1.4.* to 3.* if I recall correctly.  We used a tool that I think may still be just in JIRA to read docs from old Solr instance and index to the new Solr instance.  Ah, of course, all fields need to be stored for that to work.

Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/


----- Original Message -----
> From: Tommaso Teofili <to...@gmail.com>
> To: solr-user@lucene.apache.org
> Cc: 
> Sent: Monday, September 19, 2011 12:17 PM
> Subject: Different Solr versions between Master and Slave(s)
> 
> Hi all,
> while thinking about a migration plan of a Solr 1.4.1 master / slave
> architecture (1 master with N slaves already in production) to Solr 3.x I
> imagined to go for a graceful migration, starting with migrating only
> one/two slaves, making the needed tests on those while still offering the
> indexing and searching capabilities on top of the 1.4.1 instances.
> I did a small test of this migration plan but I see that the 'javabin'
> format used by the replication handler has changed (version 1 in 1.4.1,
> version 2 in 3.x) so the slaves at 3.x seem not able to replicate from the
> master (at 1.4.1).
> Is it possible to use the older 'javabin' version in order to enable
> replication from the master at 1.4.1 towards the slave at 3.x ?
> Or is there a better migration approach that sounds better for the above
> scenario?
> Thanks in advance for your help.
> Cheers,
> Tommaso
>