You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by "Natarajan, Rajeswari" <ra...@sap.com.INVALID> on 2023/02/15 03:02:53 UTC
Standalone Solo upgrade from 4.x to 8.x
Hi,
Would like to know if it is possible to upgrade standalone solr from 4.x to 8.x
Is there a wiki available. Please let me know.
Thanks,
Rajeswari
Re: Standalone Solo upgrade from 4.x to 8.x
Posted by Eric Pugh <ep...@opensourceconnections.com>.
If I were you, I would think about this as “a fresh implementation inspired by my old set up”…. So much has changed/evolved/gotten better. I would start out with a fresh 9.x Setup, and then look at your old setup and compare differences….
> On Feb 15, 2023, at 7:11 PM, Shawn Heisey <ap...@elyograg.org> wrote:
>
> On 2/14/23 20:02, Natarajan, Rajeswari wrote:
>> Would like to know if it is possible to upgrade standalone solr from 4.x to 8.x
>> Is there a wiki available. Please let me know.
>
> In most cases when jumping more than one major version you will have to completely reindex from scratch.
>
> You can't upgrade it step-by-step to one major version at a time, because starting in one of the 6.x versions, the Lucene version that originally wrote each segment is recorded and never gets updated or removed. If a segment has no version or the earliest version recorded is less than 7.0, then 8.x will refuse to open it. 9.x is similar for anything older than 8.0.
>
> I have seen a tool that bypasses this version check, allowing upgrades that Lucene prevents. Even if you did use that tool and managed to get it to work, it's a bad idea, which is why it's explicitly blocked.
>
> Thanks,
> Shawn
_______________________
Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | My Free/Busy <http://tinyurl.com/eric-cal>
Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>
This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such.
Re: Standalone Solo upgrade from 4.x to 8.x
Posted by Shawn Heisey <ap...@elyograg.org>.
On 2/14/23 20:02, Natarajan, Rajeswari wrote:
> Would like to know if it is possible to upgrade standalone solr from 4.x to 8.x
>
> Is there a wiki available. Please let me know.
In most cases when jumping more than one major version you will have to
completely reindex from scratch.
You can't upgrade it step-by-step to one major version at a time,
because starting in one of the 6.x versions, the Lucene version that
originally wrote each segment is recorded and never gets updated or
removed. If a segment has no version or the earliest version recorded
is less than 7.0, then 8.x will refuse to open it. 9.x is similar for
anything older than 8.0.
I have seen a tool that bypasses this version check, allowing upgrades
that Lucene prevents. Even if you did use that tool and managed to get
it to work, it's a bad idea, which is why it's explicitly blocked.
Thanks,
Shawn
Re: Standalone Solo upgrade from 4.x to 8.x
Posted by "Natarajan, Rajeswari" <ra...@sap.com.INVALID>.
Thanks for the response. The link only has details from 6.x . Prior to 6.x versions there is no info.
-Rajeswari
On 2/14/23, 10:36 PM, "Jan Høydahl" <jan.asf@cominvent.com <ma...@cominvent.com>> wrote:
It is possible, but I’d choose v9. Reference guide is your friend: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsolr.apache.org%2Fguide%2Fsolr%2Flatest%2Fupgrade-notes%2Fsolr-upgrade-notes.html&data=05%7C01%7Crajeswari.natarajan%40sap.com%7Cb0660226c6a443e00a6908db0f1ef449%7C42f7676cf455423c82f6dc2d99791af7%7C0%7C0%7C638120397889351041%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=fvuJmc2LrA9oU01ycK9OFXLk48Mdwiz72BAsEnIgbKE%3D&reserved=0 <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsolr.apache.org%2Fguide%2Fsolr%2Flatest%2Fupgrade-notes%2Fsolr-upgrade-notes.html&data=05%7C01%7Crajeswari.natarajan%40sap.com%7Cb0660226c6a443e00a6908db0f1ef449%7C42f7676cf455423c82f6dc2d99791af7%7C0%7C0%7C638120397889351041%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=fvuJmc2LrA9oU01ycK9OFXLk48Mdwiz72BAsEnIgbKE%3D&reserved=0>
Jan Høydahl
> 15. feb. 2023 kl. 04:03 skrev Natarajan, Rajeswari <rajeswari.natarajan@sap.com.inva <ma...@sap.com.inva>lid>:
>
> Hi,
>
> Would like to know if it is possible to upgrade standalone solr from 4.x to 8.x
>
> Is there a wiki available. Please let me know.
>
>
> Thanks,
> Rajeswari
Re: Standalone Solo upgrade from 4.x to 8.x
Posted by Jan Høydahl <ja...@cominvent.com>.
It is possible, but I’d choose v9. Reference guide is your friend: https://solr.apache.org/guide/solr/latest/upgrade-notes/solr-upgrade-notes.html
Jan Høydahl
> 15. feb. 2023 kl. 04:03 skrev Natarajan, Rajeswari <ra...@sap.com.invalid>:
>
> Hi,
>
> Would like to know if it is possible to upgrade standalone solr from 4.x to 8.x
>
> Is there a wiki available. Please let me know.
>
>
> Thanks,
> Rajeswari