Where can I find documentation to migrate Solr 4 to 5?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Where can I find documentation to migrate Solr 4 to 5?

Gilcan Machado
Hi.

I have a Solr 4 in production (+ Drupal).

And I want to migrate Solr to versoin 7 (at the end).

But I guess  it's more safe to migrate from 4 to 5 first.

Anyway, I'm searching a lot and I couldn't find a documentation that shows
how to pick a Solr 4 (in full production) and upgrade to a Solr 5.

[]s
Gil
Reply | Threaded
Open this post in threaded view
|

RE: Where can I find documentation to migrate Solr 4 to 5?

Markus Jelsma-2
https://lucene.apache.org/solr/5_0_0/changes/Changes.html

 
 
-----Original message-----

> From:Gilcan Machado <[hidden email]>
> Sent: Thursday 7th December 2017 14:55
> To: [hidden email]
> Subject: Where can I find documentation to migrate Solr 4 to 5?
>
> Hi.
>
> I have a Solr 4 in production (+ Drupal).
>
> And I want to migrate Solr to versoin 7 (at the end).
>
> But I guess  it's more safe to migrate from 4 to 5 first.
>
> Anyway, I'm searching a lot and I couldn't find a documentation that shows
> how to pick a Solr 4 (in full production) and upgrade to a Solr 5.
>
> []s
> Gil
>
Reply | Threaded
Open this post in threaded view
|

Re: Where can I find documentation to migrate Solr 4 to 5?

Gilcan Machado
Jesus...!!!! Thank you very much!!!

[]s
Gil

2017-12-07 11:58 GMT-02:00 Markus Jelsma <[hidden email]>:

> https://lucene.apache.org/solr/5_0_0/changes/Changes.html
>
>
>
> -----Original message-----
> > From:Gilcan Machado <[hidden email]>
> > Sent: Thursday 7th December 2017 14:55
> > To: [hidden email]
> > Subject: Where can I find documentation to migrate Solr 4 to 5?
> >
> > Hi.
> >
> > I have a Solr 4 in production (+ Drupal).
> >
> > And I want to migrate Solr to versoin 7 (at the end).
> >
> > But I guess  it's more safe to migrate from 4 to 5 first.
> >
> > Anyway, I'm searching a lot and I couldn't find a documentation that
> shows
> > how to pick a Solr 4 (in full production) and upgrade to a Solr 5.
> >
> > []s
> > Gil
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Where can I find documentation to migrate Solr 4 to 5?

Shawn Heisey-2
In reply to this post by Gilcan Machado
On 12/7/2017 6:55 AM, Gilcan Machado wrote:
> I have a Solr 4 in production (+ Drupal).
>
> And I want to migrate Solr to versoin 7 (at the end).
>
> But I guess  it's more safe to migrate from 4 to 5 first.
>
> Anyway, I'm searching a lot and I couldn't find a documentation that shows
> how to pick a Solr 4 (in full production) and upgrade to a Solr 5.

The approach that I personally would use for this scenario is to create
a new config/schema for 7.x (either based on the 7.x examples, or
received from whoever wrote the Solr plugin for Drupal), upgrade
directly to the final version, and reindex from scratch into a fresh index.

Compared to version 4, version 7 is a VERY significant upgrade, and it
is likely that at some point in the 4>5>6>7 upgrade process that you're
going to want to change something that's going to require a reindex
anyway.  There's even a good chance that you'll be FORCED to do a
reindex, because something in your config/schema might not work in a
newer version.  Whether you're forced into a reindex would depend on how
your indexes are configured.  In three major versions, a lot of older
functionality gets removed, so many 4.x configs will not work in 7.x. 
Many of the changes that are required to successfully upgrade are NOT
compatible with an existing index.

I have never used Drupal, but their Solr plugin probably has an option
to reindex the entire database for situations where the old index is
missing or doesn't have the right info in it.

Thanks,
Shawn