You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Prash Inc <pr...@gmail.com> on 2021/06/30 03:23:37 UTC

Request help / steps to upgrade from apache solr 7.7.3 to 8.5.2

Hi,

1.
I have apache solr 7.7.3 version.

Want to upgrade to 8.5.2 version

want to upgrade JDK to version 8 from 6

Please advise the steps for the same.

2. How to take backup of Solr data?

3. How to Export the entire  data  from version 7.7.3 to csv file ?

4. How to import that CSV file to upgraded 8.5.2 version ?


Thanks and Regards
Prashanth
+91-9686334920

Re: Request help / steps to upgrade from apache solr 7.7.3 to 8.5.2

Posted by Vincenzo D'Amore <v....@gmail.com>.
When I had to move from differ solr 4.8.1to solr 7.3.1 I wrote this

https://github.com/freedev/solr-import-export-json/

Still useful when you had to move from different versions of solr.
And in general, pay attention to not export fields that are created
with *copyField
*Solr, in my experience this could lead to duplicate fields data during the
import.

On Thu, Jul 1, 2021 at 3:21 PM Eric Pugh <ep...@opensourceconnections.com>
wrote:

> https://github.com/o19s/solr_dump might help.   Also investigate if
> bin/solr export will work for you.
>
>
> On Thu, Jul 1, 2021 at 8:48 AM Dominique Bejean <dominique.bejean@eolya.fr
> >
> wrote:
>
> > Hi Prashanth,
> >
> > Please consider upgrading JDK to version 11.
> >
> > If all your fields are stored, maybe you can write a script in order to
> > dump your data to json files and so reindex them in Solr 8. If your
> indexes
> > were created with Solr 7, you can try the IndexUpgraderTool
> > https://solr.apache.org/guide/8_5/indexupgrader-tool.html.
> >
> > Dominique
> >
> >
> >
> >
> > Le mer. 30 juin 2021 à 05:24, Prash Inc <pr...@gmail.com> a écrit :
> >
> > > Hi,
> > >
> > > 1.
> > > I have apache solr 7.7.3 version.
> > >
> > > Want to upgrade to 8.5.2 version
> > >
> > > want to upgrade JDK to version 8 from 6
> > >
> > > Please advise the steps for the same.
> > >
> > > 2. How to take backup of Solr data?
> > >
> > > 3. How to Export the entire  data  from version 7.7.3 to csv file ?
> > >
> > > 4. How to import that CSV file to upgraded 8.5.2 version ?
> > >
> > >
> > > Thanks and Regards
> > > Prashanth
> > > +91-9686334920
> > >
> >
>


-- 
Vincenzo D'Amore

Re: Request help / steps to upgrade from apache solr 7.7.3 to 8.5.2

Posted by Eric Pugh <ep...@opensourceconnections.com>.
https://github.com/o19s/solr_dump might help.   Also investigate if
bin/solr export will work for you.


On Thu, Jul 1, 2021 at 8:48 AM Dominique Bejean <do...@eolya.fr>
wrote:

> Hi Prashanth,
>
> Please consider upgrading JDK to version 11.
>
> If all your fields are stored, maybe you can write a script in order to
> dump your data to json files and so reindex them in Solr 8. If your indexes
> were created with Solr 7, you can try the IndexUpgraderTool
> https://solr.apache.org/guide/8_5/indexupgrader-tool.html.
>
> Dominique
>
>
>
>
> Le mer. 30 juin 2021 à 05:24, Prash Inc <pr...@gmail.com> a écrit :
>
> > Hi,
> >
> > 1.
> > I have apache solr 7.7.3 version.
> >
> > Want to upgrade to 8.5.2 version
> >
> > want to upgrade JDK to version 8 from 6
> >
> > Please advise the steps for the same.
> >
> > 2. How to take backup of Solr data?
> >
> > 3. How to Export the entire  data  from version 7.7.3 to csv file ?
> >
> > 4. How to import that CSV file to upgraded 8.5.2 version ?
> >
> >
> > Thanks and Regards
> > Prashanth
> > +91-9686334920
> >
>

Re: Request help / steps to upgrade from apache solr 7.7.3 to 8.5.2

Posted by Dominique Bejean <do...@eolya.fr>.
Hi Prashanth,

Please consider upgrading JDK to version 11.

If all your fields are stored, maybe you can write a script in order to
dump your data to json files and so reindex them in Solr 8. If your indexes
were created with Solr 7, you can try the IndexUpgraderTool
https://solr.apache.org/guide/8_5/indexupgrader-tool.html.

Dominique




Le mer. 30 juin 2021 à 05:24, Prash Inc <pr...@gmail.com> a écrit :

> Hi,
>
> 1.
> I have apache solr 7.7.3 version.
>
> Want to upgrade to 8.5.2 version
>
> want to upgrade JDK to version 8 from 6
>
> Please advise the steps for the same.
>
> 2. How to take backup of Solr data?
>
> 3. How to Export the entire  data  from version 7.7.3 to csv file ?
>
> 4. How to import that CSV file to upgraded 8.5.2 version ?
>
>
> Thanks and Regards
> Prashanth
> +91-9686334920
>