You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Isabella Trevisan <is...@infocamere.it.INVALID> on 2024/03/13 09:06:26 UTC

Migrating from solr8.11.3 to solr 9.5.0

Hi ,
  I am plannig to migrate from solr 8.11.3 to 9.5.0 in solrcloud
architecture.

The idea is to create a new line of solrcloud 9.5 where to create the
collections present in solrcloud 8.11.3 and reindex all the content on the
new platform.
My doubt is about the config with which to create the collections in
solr9.5.
Can I keep the config present in solr 8.11.3 or do I necessarily have to
adopt the new one present in the default configs and report in this what we
defined in solr8.11.3?
Thank you
regards
-- 
Isabella Trevisan

Re: Migrating from solr8.11.3 to solr 9.5.0

Posted by Isabella Trevisan <is...@infocamere.it.INVALID>.
Thank you Shawn !

Il giorno mer 13 mar 2024 alle ore 18:20 Shawn Heisey
<ap...@elyograg.org.invalid> ha scritto:

> On 3/13/24 03:06, Isabella Trevisan wrote:
> > Hi ,
> >    I am plannig to migrate from solr 8.11.3 to 9.5.0 in solrcloud
> > architecture.
> >
> > The idea is to create a new line of solrcloud 9.5 where to create the
> > collections present in solrcloud 8.11.3 and reindex all the content on
> the
> > new platform.
> > My doubt is about the config with which to create the collections in
> > solr9.5.
> > Can I keep the config present in solr 8.11.3 or do I necessarily have to
> > adopt the new one present in the default configs and report in this what
> we
> > defined in solr8.11.3?
>
> I assume here that you are talking about solrconfig.xml and the schema.
>
> Without seeing the config, it's difficult to answer that question.  If
> the config is not using anything that is deprecated in 8.11.3, it SHOULD
> work just fine in 9.x.  Anything that is deprecated in 8.x will be
> removed in 9.x.
>
> Thanks,
> Shawn
>
>

Re: Migrating from solr8.11.3 to solr 9.5.0

Posted by Isabella Trevisan <is...@infocamere.it.INVALID>.
Thank you Alessandro !!


Il giorno mer 13 mar 2024 alle ore 18:43 Alessandro Benedetti <
a.benedetti@sease.io> ha scritto:

> I recommend checking what has changed between the versions and ensuring
> that all the configs used are still valid and supported.
> I would also carefully change the constants such as the Lucene match
> version (https://sease.io/2021/04/lucenematchversion-in-apache-solr.html).
> So, in short, there's no need to start from the new default, but also I
> strongly don't recommend copying and pasting the old solrconfig.xml and
> schema because stuff may not work as expected or something could silently
> stop working.
>
> Cheers
> --------------------------
> *Alessandro Benedetti*
> Director @ Sease Ltd.
> *Apache Lucene/Solr Committer*
> *Apache Solr PMC Member*
>
> e-mail: a.benedetti@sease.io
>
>
> *Sease* - Information Retrieval Applied
> Consulting | Training | Open Source
>
> Website: Sease.io <http://sease.io/>
> LinkedIn <https://linkedin.com/company/sease-ltd> | Twitter
> <https://twitter.com/seaseltd> | Youtube
> <https://www.youtube.com/channel/UCDx86ZKLYNpI3gzMercM7BQ> | Github
> <https://github.com/seaseltd>
>
>
> On Wed, 13 Mar 2024 at 18:21, Shawn Heisey <ap...@elyograg.org.invalid>
> wrote:
>
> > On 3/13/24 03:06, Isabella Trevisan wrote:
> > > Hi ,
> > >    I am plannig to migrate from solr 8.11.3 to 9.5.0 in solrcloud
> > > architecture.
> > >
> > > The idea is to create a new line of solrcloud 9.5 where to create the
> > > collections present in solrcloud 8.11.3 and reindex all the content on
> > the
> > > new platform.
> > > My doubt is about the config with which to create the collections in
> > > solr9.5.
> > > Can I keep the config present in solr 8.11.3 or do I necessarily have
> to
> > > adopt the new one present in the default configs and report in this
> what
> > we
> > > defined in solr8.11.3?
> >
> > I assume here that you are talking about solrconfig.xml and the schema.
> >
> > Without seeing the config, it's difficult to answer that question.  If
> > the config is not using anything that is deprecated in 8.11.3, it SHOULD
> > work just fine in 9.x.  Anything that is deprecated in 8.x will be
> > removed in 9.x.
> >
> > Thanks,
> > Shawn
> >
> >
>

Re: Migrating from solr8.11.3 to solr 9.5.0

Posted by Alessandro Benedetti <a....@sease.io>.
I recommend checking what has changed between the versions and ensuring
that all the configs used are still valid and supported.
I would also carefully change the constants such as the Lucene match
version (https://sease.io/2021/04/lucenematchversion-in-apache-solr.html).
So, in short, there's no need to start from the new default, but also I
strongly don't recommend copying and pasting the old solrconfig.xml and
schema because stuff may not work as expected or something could silently
stop working.

Cheers
--------------------------
*Alessandro Benedetti*
Director @ Sease Ltd.
*Apache Lucene/Solr Committer*
*Apache Solr PMC Member*

e-mail: a.benedetti@sease.io


*Sease* - Information Retrieval Applied
Consulting | Training | Open Source

Website: Sease.io <http://sease.io/>
LinkedIn <https://linkedin.com/company/sease-ltd> | Twitter
<https://twitter.com/seaseltd> | Youtube
<https://www.youtube.com/channel/UCDx86ZKLYNpI3gzMercM7BQ> | Github
<https://github.com/seaseltd>


On Wed, 13 Mar 2024 at 18:21, Shawn Heisey <ap...@elyograg.org.invalid>
wrote:

> On 3/13/24 03:06, Isabella Trevisan wrote:
> > Hi ,
> >    I am plannig to migrate from solr 8.11.3 to 9.5.0 in solrcloud
> > architecture.
> >
> > The idea is to create a new line of solrcloud 9.5 where to create the
> > collections present in solrcloud 8.11.3 and reindex all the content on
> the
> > new platform.
> > My doubt is about the config with which to create the collections in
> > solr9.5.
> > Can I keep the config present in solr 8.11.3 or do I necessarily have to
> > adopt the new one present in the default configs and report in this what
> we
> > defined in solr8.11.3?
>
> I assume here that you are talking about solrconfig.xml and the schema.
>
> Without seeing the config, it's difficult to answer that question.  If
> the config is not using anything that is deprecated in 8.11.3, it SHOULD
> work just fine in 9.x.  Anything that is deprecated in 8.x will be
> removed in 9.x.
>
> Thanks,
> Shawn
>
>

Re: Migrating from solr8.11.3 to solr 9.5.0

Posted by Shawn Heisey <ap...@elyograg.org.INVALID>.
On 3/13/24 03:06, Isabella Trevisan wrote:
> Hi ,
>    I am plannig to migrate from solr 8.11.3 to 9.5.0 in solrcloud
> architecture.
> 
> The idea is to create a new line of solrcloud 9.5 where to create the
> collections present in solrcloud 8.11.3 and reindex all the content on the
> new platform.
> My doubt is about the config with which to create the collections in
> solr9.5.
> Can I keep the config present in solr 8.11.3 or do I necessarily have to
> adopt the new one present in the default configs and report in this what we
> defined in solr8.11.3?

I assume here that you are talking about solrconfig.xml and the schema.

Without seeing the config, it's difficult to answer that question.  If 
the config is not using anything that is deprecated in 8.11.3, it SHOULD 
work just fine in 9.x.  Anything that is deprecated in 8.x will be 
removed in 9.x.

Thanks,
Shawn


Re: Migrating from solr8.11.3 to solr 9.5.0

Posted by Isabella Trevisan <is...@infocamere.it.INVALID>.
Thank you David !
Regards
Isabella

Il giorno ven 15 mar 2024 alle ore 01:56 David Smiley <ds...@apache.org>
ha scritto:

> Also look at the logs for warnings.  Use of legacy/deprecated stuff is
> often logged.
>
> On Wed, Mar 13, 2024 at 5:08 AM Isabella Trevisan
> <is...@infocamere.it.invalid> wrote:
> >
> > Hi ,
> >   I am plannig to migrate from solr 8.11.3 to 9.5.0 in solrcloud
> > architecture.
> >
> > The idea is to create a new line of solrcloud 9.5 where to create the
> > collections present in solrcloud 8.11.3 and reindex all the content on
> the
> > new platform.
> > My doubt is about the config with which to create the collections in
> > solr9.5.
> > Can I keep the config present in solr 8.11.3 or do I necessarily have to
> > adopt the new one present in the default configs and report in this what
> we
> > defined in solr8.11.3?
> > Thank you
> > regards
> > --
> > Isabella Trevisan
>

Re: Migrating from solr8.11.3 to solr 9.5.0

Posted by David Smiley <ds...@apache.org>.
Also look at the logs for warnings.  Use of legacy/deprecated stuff is
often logged.

On Wed, Mar 13, 2024 at 5:08 AM Isabella Trevisan
<is...@infocamere.it.invalid> wrote:
>
> Hi ,
>   I am plannig to migrate from solr 8.11.3 to 9.5.0 in solrcloud
> architecture.
>
> The idea is to create a new line of solrcloud 9.5 where to create the
> collections present in solrcloud 8.11.3 and reindex all the content on the
> new platform.
> My doubt is about the config with which to create the collections in
> solr9.5.
> Can I keep the config present in solr 8.11.3 or do I necessarily have to
> adopt the new one present in the default configs and report in this what we
> defined in solr8.11.3?
> Thank you
> regards
> --
> Isabella Trevisan