You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Deepak Dixit <de...@apache.org> on 2025/03/10 06:51:26 UTC
Re: Jakarta migration and Solr plugin
We can update the Solr plugin to connect with an external Solr instance
instead of running it embedded. I believe no one uses Solr in embedded mode
in production,
so it's best to treat Solr as an external system.
With the Solr plugin update, we can configure it to communicate with an
external Solr instance.
To make it developer-friendly, we can also provide a Gradle task to
download and run Solr in the development environment.
--
Deepak Dixit
ofbiz.apache.org
On Mon, Feb 3, 2025 at 2:09 PM gaetan.chaboussie <
gaetan.chaboussie@nereide.fr> wrote:
> Hi all. Thanks for the answer. I'll wait for the Solr update to continue
> the migration work.
>
> Gaetan
>
> On 1/30/25 10:02, Jacques Le Roux wrote:
> > Hi,
> >
> > We are speaking about the trunk, only. So nobody should using it in
> > production. But we know it's not the case.
> >
> > So I agree, we can wait.
> >
> > Again, thank you for the good work Gaetan. I hope we will able to
> > complete in coming months, sounds possible after your research :)
> >
> > Jacques
> >
> > Le 30/01/2025 à 03:22, Anshul Goyal a écrit :
> >> Hi Gaetan,
> >>
> >> I agree with Michael that we should wait until the solr migration comes
> >> out, as removing it may cause issues to existing users using solr along
> >> with OFBiz.
> >>
> >> Best Regards
> >> Anshul Goyal
> >>
> >> On Thu, 30 Jan 2025, 03:55 Michael Brohl, <mi...@ecomify.de>
> >> wrote:
> >>
> >>> Hi Gaetan,
> >>>
> >>> thanks for your continuing work on this migration task.
> >>>
> >>> Since there is no urgent need to finish the migration in short time, we
> >>> should wait until we can do it without regressions or cutting existing
> >>> functionality.
> >>>
> >>> So I vote for option 3 to wait until Solr is ready for this change.
> >>>
> >>> Thanks and regards,
> >>>
> >>> Michael Brohl
> >>>
> >>> ecomify GmbH - www.ecomify.de
> >>>
> >>>
> >>> Am 29.01.25 um 17:24 schrieb gaetan.chaboussie:
> >>>> Hello community,
> >>>> In the process of from migrating javax to jakarta in framework, then
> >>>> in plugins , I came across a compilation issue.
> >>>> Links to MR : [1] [2]
> >>>> This issue comes from the solr plugin. After some research, it seems
> >>>> that the plugin doesn't handle jakarta yet and still uses javax [3]
> >>>> Lucene is up to date at this point and already at version 10.1 while
> >>>> Solr is in the process of releasing the 10.0 [4]
> >>>> If in understand correctly, both libraries should be sync in their
> >>>> version number.
> >>>> Jacques already tried to upgrade Solr in the past, and despite all
> >>>> efforts, it seems it didn't work [5]
> >>>>
> >>>> I see several options :
> >>>> - Temporarily disabling the Solr plugin, but carry on with the
> >>>> migration and migrate Solr plugin once the 10.0 version is out
> >>>> - Move the Solr plugin to the Attic, and update it when the need comes
> >>>> - Wait until the Solr migration is out to continue the migration work
> >>>>
> >>>> FWIW, with both framework and plugins on branch OFBIZ-12989, and the
> >>>> Solr plugin removed, OFBiz compiles and the integration tests are OK.
> >>>>
> >>>> So i'd like to open the discussion !
> >>>> Thanks
> >>>> Best Regards,
> >>>> Gaetan
> >>>>
> >>>> [1] https://github.com/apache/ofbiz-plugins/pull/133
> >>>> [2] https://github.com/apache/ofbiz-framework/pull/875
> >>>> [3] https://issues.apache.org/jira/browse/SOLR-17503
> >>>> [4] https://issues.apache.org/jira/browse/SOLR-17631
> >>>> [5] https://issues.apache.org/jira/browse/OFBIZ-12645
> >>>>
> >>>> Base OFBiz ticket : https://issues.apache.org/jira/browse/OFBIZ-12989
> >>>>
>
Re: Jakarta migration and Solr plugin
Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Anshul, Deepak, All,
The situation about the embedded Solr plugin is not good. Here it is in Jira https://s.apache.org/tzkbg
Actually the much important point is https://issues.apache.org/jira/browse/OFBIZ-12645
So we are so far stuck with Solr 8.11.3. Lucene is too while it could be updated to at least 9.12.1 and maybe even 10.1.0 and more in the future.
That's why I agree with Deepak and of course for the other valid reasons he mentioned.
Also remember that we started this discussion because with
https://lists.apache.org/thread/wvmpnkbqm677b4n8t4nr2qqzthy8lcpn
Gaetan reported that with Solr embedded we are stuck with Jakarta migration.
And it seems not much is happening from Solr side...
For all these reasons, do we need a vote for removing Solr from supported plugins, at least in trunk?
TIA
Jacques
Le 10/03/2025 à 11:45, Anshul Goyal a écrit :
> Hi Deepak,
>
> I would like to correct myself, as we are using embedded solr plugin on our
> uat instance. And the client we are working with is thoroughly using all
> the features solr provides through it. We were planning to get it into
> production soon, and were thinking of proceeding with the embedded version
> itself.
>
> Now that you mentioned it, it would be better to use the best possible
> method for the production environment, that turns out to be the standalone
> Solr/Solr Cloud, as embedded one will be more tightly coupled with the
> ofbiz, which can led to server failure in case any issue arise in the solr
> plugin.
>
> I would like to continue with the best approach, and agree with whatever
> the community decides to do with the embedded solr plugin.
>
> Your comment helped me further reinvestigate into the way things were
> proceeding on my end. Thank you.
>
> Warm Regards
> Anshul Goyal
>
> On Mon, 10 Mar 2025 at 13:25, Deepak Dixit<de...@apache.org> wrote:
>
>> Hi Anshul Goyal,
>>
>> Thanks for the details!
>> If users are using Solr in embedded mode in production, that’s great.
>>
>> It would be helpful if you could share additional details on the advantages
>> of using embedded Solr over external Solr/Solr Cloud.
>> Understanding the benefits would provide better insight into its use case.
>>
>> --
>> Deepak Dixit
>> ofbiz.apache.org
>>
>>
>> On Mon, Mar 10, 2025 at 1:12 PM Anshul Goyal<an...@gmail.com> wrote:
>>
>>> Hi Deepak,
>>> We are actually using solr in embedded mode on production. We are using
>> the
>>> same gradle task to run solr as we are using for running OFBiz. We are
>>> running both on the same port.
>>>
>>> We cannot rule out the possibility of more users making use of the solr
>>> plugin in a similar way.
>>>
>>> Best regards
>>> Anshul Goyal
>>>
>>> On Mon, 10 Mar 2025, 12:21 Deepak Dixit,<de...@apache.org> wrote:
>>>
>>>> We can update the Solr plugin to connect with an external Solr instance
>>>> instead of running it embedded. I believe no one uses Solr in embedded
>>> mode
>>>> in production,
>>>> so it's best to treat Solr as an external system.
>>>> With the Solr plugin update, we can configure it to communicate with an
>>>> external Solr instance.
>>>> To make it developer-friendly, we can also provide a Gradle task to
>>>> download and run Solr in the development environment.
>>>>
>>>> --
>>>> Deepak Dixit
>>>> ofbiz.apache.org
>>>>
>>>>
>>>> On Mon, Feb 3, 2025 at 2:09 PM gaetan.chaboussie <
>>>> gaetan.chaboussie@nereide.fr> wrote:
>>>>
>>>>> Hi all. Thanks for the answer. I'll wait for the Solr update to
>>> continue
>>>>> the migration work.
>>>>>
>>>>> Gaetan
>>>>>
>>>>> On 1/30/25 10:02, Jacques Le Roux wrote:
>>>>>> Hi,
>>>>>>
>>>>>> We are speaking about the trunk, only. So nobody should using it in
>>>>>> production. But we know it's not the case.
>>>>>>
>>>>>> So I agree, we can wait.
>>>>>>
>>>>>> Again, thank you for the good work Gaetan. I hope we will able to
>>>>>> complete in coming months, sounds possible after your research :)
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>> Le 30/01/2025 à 03:22, Anshul Goyal a écrit :
>>>>>>> Hi Gaetan,
>>>>>>>
>>>>>>> I agree with Michael that we should wait until the solr migration
>>>> comes
>>>>>>> out, as removing it may cause issues to existing users using solr
>>>> along
>>>>>>> with OFBiz.
>>>>>>>
>>>>>>> Best Regards
>>>>>>> Anshul Goyal
>>>>>>>
>>>>>>> On Thu, 30 Jan 2025, 03:55 Michael Brohl, <
>> michael.brohl@ecomify.de
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Gaetan,
>>>>>>>>
>>>>>>>> thanks for your continuing work on this migration task.
>>>>>>>>
>>>>>>>> Since there is no urgent need to finish the migration in short
>>> time,
>>>> we
>>>>>>>> should wait until we can do it without regressions or cutting
>>>> existing
>>>>>>>> functionality.
>>>>>>>>
>>>>>>>> So I vote for option 3 to wait until Solr is ready for this
>> change.
>>>>>>>> Thanks and regards,
>>>>>>>>
>>>>>>>> Michael Brohl
>>>>>>>>
>>>>>>>> ecomify GmbH -www.ecomify.de
>>>>>>>>
>>>>>>>>
>>>>>>>> Am 29.01.25 um 17:24 schrieb gaetan.chaboussie:
>>>>>>>>> Hello community,
>>>>>>>>> In the process of from migrating javax to jakarta in framework,
>>> then
>>>>>>>>> in plugins , I came across a compilation issue.
>>>>>>>>> Links to MR : [1] [2]
>>>>>>>>> This issue comes from the solr plugin. After some research, it
>>> seems
>>>>>>>>> that the plugin doesn't handle jakarta yet and still uses javax
>>> [3]
>>>>>>>>> Lucene is up to date at this point and already at version 10.1
>>> while
>>>>>>>>> Solr is in the process of releasing the 10.0 [4]
>>>>>>>>> If in understand correctly, both libraries should be sync in
>> their
>>>>>>>>> version number.
>>>>>>>>> Jacques already tried to upgrade Solr in the past, and despite
>> all
>>>>>>>>> efforts, it seems it didn't work [5]
>>>>>>>>>
>>>>>>>>> I see several options :
>>>>>>>>> - Temporarily disabling the Solr plugin, but carry on with the
>>>>>>>>> migration and migrate Solr plugin once the 10.0 version is out
>>>>>>>>> - Move the Solr plugin to the Attic, and update it when the need
>>>> comes
>>>>>>>>> - Wait until the Solr migration is out to continue the migration
>>>> work
>>>>>>>>> FWIW, with both framework and plugins on branch OFBIZ-12989, and
>>> the
>>>>>>>>> Solr plugin removed, OFBiz compiles and the integration tests
>> are
>>>> OK.
>>>>>>>>> So i'd like to open the discussion !
>>>>>>>>> Thanks
>>>>>>>>> Best Regards,
>>>>>>>>> Gaetan
>>>>>>>>>
>>>>>>>>> [1]https://github.com/apache/ofbiz-plugins/pull/133
>>>>>>>>> [2]https://github.com/apache/ofbiz-framework/pull/875
>>>>>>>>> [3]https://issues.apache.org/jira/browse/SOLR-17503
>>>>>>>>> [4]https://issues.apache.org/jira/browse/SOLR-17631
>>>>>>>>> [5]https://issues.apache.org/jira/browse/OFBIZ-12645
>>>>>>>>>
>>>>>>>>> Base OFBiz ticket :
>>>> https://issues.apache.org/jira/browse/OFBIZ-12989
Re: Jakarta migration and Solr plugin
Posted by Anshul Goyal <an...@gmail.com>.
Hi Deepak,
I would like to correct myself, as we are using embedded solr plugin on our
uat instance. And the client we are working with is thoroughly using all
the features solr provides through it. We were planning to get it into
production soon, and were thinking of proceeding with the embedded version
itself.
Now that you mentioned it, it would be better to use the best possible
method for the production environment, that turns out to be the standalone
Solr/Solr Cloud, as embedded one will be more tightly coupled with the
ofbiz, which can led to server failure in case any issue arise in the solr
plugin.
I would like to continue with the best approach, and agree with whatever
the community decides to do with the embedded solr plugin.
Your comment helped me further reinvestigate into the way things were
proceeding on my end. Thank you.
Warm Regards
Anshul Goyal
On Mon, 10 Mar 2025 at 13:25, Deepak Dixit <de...@apache.org> wrote:
> Hi Anshul Goyal,
>
> Thanks for the details!
> If users are using Solr in embedded mode in production, that’s great.
>
> It would be helpful if you could share additional details on the advantages
> of using embedded Solr over external Solr/Solr Cloud.
> Understanding the benefits would provide better insight into its use case.
>
> --
> Deepak Dixit
> ofbiz.apache.org
>
>
> On Mon, Mar 10, 2025 at 1:12 PM Anshul Goyal <an...@gmail.com> wrote:
>
> > Hi Deepak,
> > We are actually using solr in embedded mode on production. We are using
> the
> > same gradle task to run solr as we are using for running OFBiz. We are
> > running both on the same port.
> >
> > We cannot rule out the possibility of more users making use of the solr
> > plugin in a similar way.
> >
> > Best regards
> > Anshul Goyal
> >
> > On Mon, 10 Mar 2025, 12:21 Deepak Dixit, <de...@apache.org> wrote:
> >
> > > We can update the Solr plugin to connect with an external Solr instance
> > > instead of running it embedded. I believe no one uses Solr in embedded
> > mode
> > > in production,
> > > so it's best to treat Solr as an external system.
> > > With the Solr plugin update, we can configure it to communicate with an
> > > external Solr instance.
> > > To make it developer-friendly, we can also provide a Gradle task to
> > > download and run Solr in the development environment.
> > >
> > > --
> > > Deepak Dixit
> > > ofbiz.apache.org
> > >
> > >
> > > On Mon, Feb 3, 2025 at 2:09 PM gaetan.chaboussie <
> > > gaetan.chaboussie@nereide.fr> wrote:
> > >
> > > > Hi all. Thanks for the answer. I'll wait for the Solr update to
> > continue
> > > > the migration work.
> > > >
> > > > Gaetan
> > > >
> > > > On 1/30/25 10:02, Jacques Le Roux wrote:
> > > > > Hi,
> > > > >
> > > > > We are speaking about the trunk, only. So nobody should using it in
> > > > > production. But we know it's not the case.
> > > > >
> > > > > So I agree, we can wait.
> > > > >
> > > > > Again, thank you for the good work Gaetan. I hope we will able to
> > > > > complete in coming months, sounds possible after your research :)
> > > > >
> > > > > Jacques
> > > > >
> > > > > Le 30/01/2025 à 03:22, Anshul Goyal a écrit :
> > > > >> Hi Gaetan,
> > > > >>
> > > > >> I agree with Michael that we should wait until the solr migration
> > > comes
> > > > >> out, as removing it may cause issues to existing users using solr
> > > along
> > > > >> with OFBiz.
> > > > >>
> > > > >> Best Regards
> > > > >> Anshul Goyal
> > > > >>
> > > > >> On Thu, 30 Jan 2025, 03:55 Michael Brohl, <
> michael.brohl@ecomify.de
> > >
> > > > >> wrote:
> > > > >>
> > > > >>> Hi Gaetan,
> > > > >>>
> > > > >>> thanks for your continuing work on this migration task.
> > > > >>>
> > > > >>> Since there is no urgent need to finish the migration in short
> > time,
> > > we
> > > > >>> should wait until we can do it without regressions or cutting
> > > existing
> > > > >>> functionality.
> > > > >>>
> > > > >>> So I vote for option 3 to wait until Solr is ready for this
> change.
> > > > >>>
> > > > >>> Thanks and regards,
> > > > >>>
> > > > >>> Michael Brohl
> > > > >>>
> > > > >>> ecomify GmbH - www.ecomify.de
> > > > >>>
> > > > >>>
> > > > >>> Am 29.01.25 um 17:24 schrieb gaetan.chaboussie:
> > > > >>>> Hello community,
> > > > >>>> In the process of from migrating javax to jakarta in framework,
> > then
> > > > >>>> in plugins , I came across a compilation issue.
> > > > >>>> Links to MR : [1] [2]
> > > > >>>> This issue comes from the solr plugin. After some research, it
> > seems
> > > > >>>> that the plugin doesn't handle jakarta yet and still uses javax
> > [3]
> > > > >>>> Lucene is up to date at this point and already at version 10.1
> > while
> > > > >>>> Solr is in the process of releasing the 10.0 [4]
> > > > >>>> If in understand correctly, both libraries should be sync in
> their
> > > > >>>> version number.
> > > > >>>> Jacques already tried to upgrade Solr in the past, and despite
> all
> > > > >>>> efforts, it seems it didn't work [5]
> > > > >>>>
> > > > >>>> I see several options :
> > > > >>>> - Temporarily disabling the Solr plugin, but carry on with the
> > > > >>>> migration and migrate Solr plugin once the 10.0 version is out
> > > > >>>> - Move the Solr plugin to the Attic, and update it when the need
> > > comes
> > > > >>>> - Wait until the Solr migration is out to continue the migration
> > > work
> > > > >>>>
> > > > >>>> FWIW, with both framework and plugins on branch OFBIZ-12989, and
> > the
> > > > >>>> Solr plugin removed, OFBiz compiles and the integration tests
> are
> > > OK.
> > > > >>>>
> > > > >>>> So i'd like to open the discussion !
> > > > >>>> Thanks
> > > > >>>> Best Regards,
> > > > >>>> Gaetan
> > > > >>>>
> > > > >>>> [1] https://github.com/apache/ofbiz-plugins/pull/133
> > > > >>>> [2] https://github.com/apache/ofbiz-framework/pull/875
> > > > >>>> [3] https://issues.apache.org/jira/browse/SOLR-17503
> > > > >>>> [4] https://issues.apache.org/jira/browse/SOLR-17631
> > > > >>>> [5] https://issues.apache.org/jira/browse/OFBIZ-12645
> > > > >>>>
> > > > >>>> Base OFBiz ticket :
> > > https://issues.apache.org/jira/browse/OFBIZ-12989
> > > > >>>>
> > > >
> > >
> >
>
Re: Jakarta migration and Solr plugin
Posted by Deepak Dixit <de...@apache.org>.
Hi Anshul Goyal,
Thanks for the details!
If users are using Solr in embedded mode in production, that’s great.
It would be helpful if you could share additional details on the advantages
of using embedded Solr over external Solr/Solr Cloud.
Understanding the benefits would provide better insight into its use case.
--
Deepak Dixit
ofbiz.apache.org
On Mon, Mar 10, 2025 at 1:12 PM Anshul Goyal <an...@gmail.com> wrote:
> Hi Deepak,
> We are actually using solr in embedded mode on production. We are using the
> same gradle task to run solr as we are using for running OFBiz. We are
> running both on the same port.
>
> We cannot rule out the possibility of more users making use of the solr
> plugin in a similar way.
>
> Best regards
> Anshul Goyal
>
> On Mon, 10 Mar 2025, 12:21 Deepak Dixit, <de...@apache.org> wrote:
>
> > We can update the Solr plugin to connect with an external Solr instance
> > instead of running it embedded. I believe no one uses Solr in embedded
> mode
> > in production,
> > so it's best to treat Solr as an external system.
> > With the Solr plugin update, we can configure it to communicate with an
> > external Solr instance.
> > To make it developer-friendly, we can also provide a Gradle task to
> > download and run Solr in the development environment.
> >
> > --
> > Deepak Dixit
> > ofbiz.apache.org
> >
> >
> > On Mon, Feb 3, 2025 at 2:09 PM gaetan.chaboussie <
> > gaetan.chaboussie@nereide.fr> wrote:
> >
> > > Hi all. Thanks for the answer. I'll wait for the Solr update to
> continue
> > > the migration work.
> > >
> > > Gaetan
> > >
> > > On 1/30/25 10:02, Jacques Le Roux wrote:
> > > > Hi,
> > > >
> > > > We are speaking about the trunk, only. So nobody should using it in
> > > > production. But we know it's not the case.
> > > >
> > > > So I agree, we can wait.
> > > >
> > > > Again, thank you for the good work Gaetan. I hope we will able to
> > > > complete in coming months, sounds possible after your research :)
> > > >
> > > > Jacques
> > > >
> > > > Le 30/01/2025 à 03:22, Anshul Goyal a écrit :
> > > >> Hi Gaetan,
> > > >>
> > > >> I agree with Michael that we should wait until the solr migration
> > comes
> > > >> out, as removing it may cause issues to existing users using solr
> > along
> > > >> with OFBiz.
> > > >>
> > > >> Best Regards
> > > >> Anshul Goyal
> > > >>
> > > >> On Thu, 30 Jan 2025, 03:55 Michael Brohl, <michael.brohl@ecomify.de
> >
> > > >> wrote:
> > > >>
> > > >>> Hi Gaetan,
> > > >>>
> > > >>> thanks for your continuing work on this migration task.
> > > >>>
> > > >>> Since there is no urgent need to finish the migration in short
> time,
> > we
> > > >>> should wait until we can do it without regressions or cutting
> > existing
> > > >>> functionality.
> > > >>>
> > > >>> So I vote for option 3 to wait until Solr is ready for this change.
> > > >>>
> > > >>> Thanks and regards,
> > > >>>
> > > >>> Michael Brohl
> > > >>>
> > > >>> ecomify GmbH - www.ecomify.de
> > > >>>
> > > >>>
> > > >>> Am 29.01.25 um 17:24 schrieb gaetan.chaboussie:
> > > >>>> Hello community,
> > > >>>> In the process of from migrating javax to jakarta in framework,
> then
> > > >>>> in plugins , I came across a compilation issue.
> > > >>>> Links to MR : [1] [2]
> > > >>>> This issue comes from the solr plugin. After some research, it
> seems
> > > >>>> that the plugin doesn't handle jakarta yet and still uses javax
> [3]
> > > >>>> Lucene is up to date at this point and already at version 10.1
> while
> > > >>>> Solr is in the process of releasing the 10.0 [4]
> > > >>>> If in understand correctly, both libraries should be sync in their
> > > >>>> version number.
> > > >>>> Jacques already tried to upgrade Solr in the past, and despite all
> > > >>>> efforts, it seems it didn't work [5]
> > > >>>>
> > > >>>> I see several options :
> > > >>>> - Temporarily disabling the Solr plugin, but carry on with the
> > > >>>> migration and migrate Solr plugin once the 10.0 version is out
> > > >>>> - Move the Solr plugin to the Attic, and update it when the need
> > comes
> > > >>>> - Wait until the Solr migration is out to continue the migration
> > work
> > > >>>>
> > > >>>> FWIW, with both framework and plugins on branch OFBIZ-12989, and
> the
> > > >>>> Solr plugin removed, OFBiz compiles and the integration tests are
> > OK.
> > > >>>>
> > > >>>> So i'd like to open the discussion !
> > > >>>> Thanks
> > > >>>> Best Regards,
> > > >>>> Gaetan
> > > >>>>
> > > >>>> [1] https://github.com/apache/ofbiz-plugins/pull/133
> > > >>>> [2] https://github.com/apache/ofbiz-framework/pull/875
> > > >>>> [3] https://issues.apache.org/jira/browse/SOLR-17503
> > > >>>> [4] https://issues.apache.org/jira/browse/SOLR-17631
> > > >>>> [5] https://issues.apache.org/jira/browse/OFBIZ-12645
> > > >>>>
> > > >>>> Base OFBiz ticket :
> > https://issues.apache.org/jira/browse/OFBIZ-12989
> > > >>>>
> > >
> >
>
Re: Jakarta migration and Solr plugin
Posted by Anshul Goyal <an...@gmail.com>.
Hi Deepak,
We are actually using solr in embedded mode on production. We are using the
same gradle task to run solr as we are using for running OFBiz. We are
running both on the same port.
We cannot rule out the possibility of more users making use of the solr
plugin in a similar way.
Best regards
Anshul Goyal
On Mon, 10 Mar 2025, 12:21 Deepak Dixit, <de...@apache.org> wrote:
> We can update the Solr plugin to connect with an external Solr instance
> instead of running it embedded. I believe no one uses Solr in embedded mode
> in production,
> so it's best to treat Solr as an external system.
> With the Solr plugin update, we can configure it to communicate with an
> external Solr instance.
> To make it developer-friendly, we can also provide a Gradle task to
> download and run Solr in the development environment.
>
> --
> Deepak Dixit
> ofbiz.apache.org
>
>
> On Mon, Feb 3, 2025 at 2:09 PM gaetan.chaboussie <
> gaetan.chaboussie@nereide.fr> wrote:
>
> > Hi all. Thanks for the answer. I'll wait for the Solr update to continue
> > the migration work.
> >
> > Gaetan
> >
> > On 1/30/25 10:02, Jacques Le Roux wrote:
> > > Hi,
> > >
> > > We are speaking about the trunk, only. So nobody should using it in
> > > production. But we know it's not the case.
> > >
> > > So I agree, we can wait.
> > >
> > > Again, thank you for the good work Gaetan. I hope we will able to
> > > complete in coming months, sounds possible after your research :)
> > >
> > > Jacques
> > >
> > > Le 30/01/2025 à 03:22, Anshul Goyal a écrit :
> > >> Hi Gaetan,
> > >>
> > >> I agree with Michael that we should wait until the solr migration
> comes
> > >> out, as removing it may cause issues to existing users using solr
> along
> > >> with OFBiz.
> > >>
> > >> Best Regards
> > >> Anshul Goyal
> > >>
> > >> On Thu, 30 Jan 2025, 03:55 Michael Brohl, <mi...@ecomify.de>
> > >> wrote:
> > >>
> > >>> Hi Gaetan,
> > >>>
> > >>> thanks for your continuing work on this migration task.
> > >>>
> > >>> Since there is no urgent need to finish the migration in short time,
> we
> > >>> should wait until we can do it without regressions or cutting
> existing
> > >>> functionality.
> > >>>
> > >>> So I vote for option 3 to wait until Solr is ready for this change.
> > >>>
> > >>> Thanks and regards,
> > >>>
> > >>> Michael Brohl
> > >>>
> > >>> ecomify GmbH - www.ecomify.de
> > >>>
> > >>>
> > >>> Am 29.01.25 um 17:24 schrieb gaetan.chaboussie:
> > >>>> Hello community,
> > >>>> In the process of from migrating javax to jakarta in framework, then
> > >>>> in plugins , I came across a compilation issue.
> > >>>> Links to MR : [1] [2]
> > >>>> This issue comes from the solr plugin. After some research, it seems
> > >>>> that the plugin doesn't handle jakarta yet and still uses javax [3]
> > >>>> Lucene is up to date at this point and already at version 10.1 while
> > >>>> Solr is in the process of releasing the 10.0 [4]
> > >>>> If in understand correctly, both libraries should be sync in their
> > >>>> version number.
> > >>>> Jacques already tried to upgrade Solr in the past, and despite all
> > >>>> efforts, it seems it didn't work [5]
> > >>>>
> > >>>> I see several options :
> > >>>> - Temporarily disabling the Solr plugin, but carry on with the
> > >>>> migration and migrate Solr plugin once the 10.0 version is out
> > >>>> - Move the Solr plugin to the Attic, and update it when the need
> comes
> > >>>> - Wait until the Solr migration is out to continue the migration
> work
> > >>>>
> > >>>> FWIW, with both framework and plugins on branch OFBIZ-12989, and the
> > >>>> Solr plugin removed, OFBiz compiles and the integration tests are
> OK.
> > >>>>
> > >>>> So i'd like to open the discussion !
> > >>>> Thanks
> > >>>> Best Regards,
> > >>>> Gaetan
> > >>>>
> > >>>> [1] https://github.com/apache/ofbiz-plugins/pull/133
> > >>>> [2] https://github.com/apache/ofbiz-framework/pull/875
> > >>>> [3] https://issues.apache.org/jira/browse/SOLR-17503
> > >>>> [4] https://issues.apache.org/jira/browse/SOLR-17631
> > >>>> [5] https://issues.apache.org/jira/browse/OFBIZ-12645
> > >>>>
> > >>>> Base OFBiz ticket :
> https://issues.apache.org/jira/browse/OFBIZ-12989
> > >>>>
> >
>
Re: Jakarta migration and Solr plugin
Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Michael,
Why not if we provide a process to migrate Solr as an external system?
Also for now only the trunk would be concerned. That less us enough time, isn’t?
Maybe we should vote about that? But that implies we are sure the process to migrate Solr will be implemented.
Jacques
Le 10/03/2025 à 15:44, Michael Brohl a écrit :
> Hi Deepak,
>
> I know that embedded Solr is used so that does not seem to be a valid solution.
>
> Best regards,
>
> Michael Brohl
>
> ecomify GmbH - www.ecomify.de
>
> Am 10.03.25 um 07:51 schrieb Deepak Dixit:
>> We can update the Solr plugin to connect with an external Solr instance
>> instead of running it embedded. I believe no one uses Solr in embedded mode
>> in production,
>> so it's best to treat Solr as an external system.
>> With the Solr plugin update, we can configure it to communicate with an
>> external Solr instance.
>> To make it developer-friendly, we can also provide a Gradle task to
>> download and run Solr in the development environment.
>>
>> --
>> Deepak Dixit
>> ofbiz.apache.org
>>
>>
>> On Mon, Feb 3, 2025 at 2:09 PM gaetan.chaboussie <
>> gaetan.chaboussie@nereide.fr> wrote:
>>
>>> Hi all. Thanks for the answer. I'll wait for the Solr update to continue
>>> the migration work.
>>>
>>> Gaetan
>>>
>>> On 1/30/25 10:02, Jacques Le Roux wrote:
>>>> Hi,
>>>>
>>>> We are speaking about the trunk, only. So nobody should using it in
>>>> production. But we know it's not the case.
>>>>
>>>> So I agree, we can wait.
>>>>
>>>> Again, thank you for the good work Gaetan. I hope we will able to
>>>> complete in coming months, sounds possible after your research :)
>>>>
>>>> Jacques
>>>>
>>>> Le 30/01/2025 à 03:22, Anshul Goyal a écrit :
>>>>> Hi Gaetan,
>>>>>
>>>>> I agree with Michael that we should wait until the solr migration comes
>>>>> out, as removing it may cause issues to existing users using solr along
>>>>> with OFBiz.
>>>>>
>>>>> Best Regards
>>>>> Anshul Goyal
>>>>>
>>>>> On Thu, 30 Jan 2025, 03:55 Michael Brohl, <mi...@ecomify.de>
>>>>> wrote:
>>>>>
>>>>>> Hi Gaetan,
>>>>>>
>>>>>> thanks for your continuing work on this migration task.
>>>>>>
>>>>>> Since there is no urgent need to finish the migration in short time, we
>>>>>> should wait until we can do it without regressions or cutting existing
>>>>>> functionality.
>>>>>>
>>>>>> So I vote for option 3 to wait until Solr is ready for this change.
>>>>>>
>>>>>> Thanks and regards,
>>>>>>
>>>>>> Michael Brohl
>>>>>>
>>>>>> ecomify GmbH - www.ecomify.de
>>>>>>
>>>>>>
>>>>>> Am 29.01.25 um 17:24 schrieb gaetan.chaboussie:
>>>>>>> Hello community,
>>>>>>> In the process of from migrating javax to jakarta in framework, then
>>>>>>> in plugins , I came across a compilation issue.
>>>>>>> Links to MR : [1] [2]
>>>>>>> This issue comes from the solr plugin. After some research, it seems
>>>>>>> that the plugin doesn't handle jakarta yet and still uses javax [3]
>>>>>>> Lucene is up to date at this point and already at version 10.1 while
>>>>>>> Solr is in the process of releasing the 10.0 [4]
>>>>>>> If in understand correctly, both libraries should be sync in their
>>>>>>> version number.
>>>>>>> Jacques already tried to upgrade Solr in the past, and despite all
>>>>>>> efforts, it seems it didn't work [5]
>>>>>>>
>>>>>>> I see several options :
>>>>>>> - Temporarily disabling the Solr plugin, but carry on with the
>>>>>>> migration and migrate Solr plugin once the 10.0 version is out
>>>>>>> - Move the Solr plugin to the Attic, and update it when the need comes
>>>>>>> - Wait until the Solr migration is out to continue the migration work
>>>>>>>
>>>>>>> FWIW, with both framework and plugins on branch OFBIZ-12989, and the
>>>>>>> Solr plugin removed, OFBiz compiles and the integration tests are OK.
>>>>>>>
>>>>>>> So i'd like to open the discussion !
>>>>>>> Thanks
>>>>>>> Best Regards,
>>>>>>> Gaetan
>>>>>>>
>>>>>>> [1] https://github.com/apache/ofbiz-plugins/pull/133
>>>>>>> [2] https://github.com/apache/ofbiz-framework/pull/875
>>>>>>> [3] https://issues.apache.org/jira/browse/SOLR-17503
>>>>>>> [4] https://issues.apache.org/jira/browse/SOLR-17631
>>>>>>> [5] https://issues.apache.org/jira/browse/OFBIZ-12645
>>>>>>>
>>>>>>> Base OFBiz ticket : https://issues.apache.org/jira/browse/OFBIZ-12989
>>>>>>>
Re: Jakarta migration and Solr plugin
Posted by Nicolas Malin <ni...@nereide.fr>.
Thanks Ayan :)
Le 11/04/2025 à 07:35, Ayan Farooqui a écrit :
> Hello Team,
>
> I have published the document -
> https://cwiki.apache.org/confluence/display/OFBIZ/How+to+Migrate+from+Embedded+Solr+to+Standalone+Solr
>
> Best Regards,
> Ayan Farooqui
> Product Engineer
> *HotWax Commerce*
> *Real OmniChannel. Real Results.*
> email:ayan.farooqui@hotwax.co
> *www.hotwax.co<http://www.hotwax.co/>*
>
>
> On Thu, Apr 10, 2025 at 10:33 AM Ayan Farooqui<ay...@hotwax.co>
> wrote:
>
>> Hello,
>>
>> I got stuck in resetting password of my Confluence account, will get it
>> resolved or create a new one and post the migration steps today.
>>
>> Kind regards,
>> Ayan Farooqui
>> Product Engineer
>> *HotWax Commerce*
>> *Real OmniChannel. Real Results.*
>> email:ayan.farooqui@hotwax.co
>> *www.hotwax.co<http://www.hotwax.co/>*
>>
>>
>> On Wed, Apr 9, 2025 at 9:02 PM Nicolas Malin<ni...@nereide.fr>
>> wrote:
>>
>>> It's done on trunk :)
>>>
>>> Thanks all !
>>>
>>> Le 09/04/2025 à 09:13, Nicolas Malin a écrit :
>>>> :) Thanks Deepak,
>>>>
>>>> I planned to ask this morning so perfect time :D
>>>>
>>>> I'll move this days solr to attic and push jakarta migration by the way.
>>>>
>>>> Nicolas
>>>>
>>>> Le 09/04/2025 à 06:55, Deepak Dixit a écrit :
>>>>> Hi Ayan,
>>>>>
>>>>> Did you get a chance to create a wiki page for solr embedded to
>>> external
>>>>> migration ?
>>>>>
>>>>> We can track the effort in the following jira tak.
>>>>> Move solr component to Attic
>>>>> <https://issues.apache.org/jira/browse/OFBIZ-13220>
>>>>>
>>>>> Thanks & Regards
>>>>> --
>>>>> Deepak Dixit
>>>>> ofbiz.apache.org
>>>>>
>>>>>
>>>>> On Fri, Mar 21, 2025 at 3:23 PM Ayan Farooqui<ay...@hotwax.co>
>>>>> wrote:
>>>>>
>>>>>> Hi Nicolas,
>>>>>>
>>>>>> Thanks for your kind words! I really appreciate your offer to push
>>>>>> it to
>>>>>> the wiki. But, I’d like to take the initiative to add it myself.
>>>>>>
>>>>>> I'll make sure to update the wiki soon and will share the link once
>>>>>> it's
>>>>>> live. Please let me know if you have any suggestions or improvements
>>> to
>>>>>> include!
>>>>>>
>>>>>> Kind regards,
>>>>>> Ayan Farooqui
>>>>>> Product Engineer
>>>>>> *HotWax Commerce*
>>>>>> *Real OmniChannel. Real Results.*
>>>>>> email:ayan.farooqui@hotwax.co
>>>>>> *www.hotwax.co<http://www.hotwax.co/>*
>>>>>>
>>>>>>
>>>>>> On Fri, Mar 21, 2025 at 3:17 PM Nicolas Malin<
>>> nicolas.malin@nereide.fr>
>>>>>> wrote:
>>>>>>
>>>>>>> Hello Ayan,
>>>>>>>
>>>>>>> Thanks for this sharing, it's really cool.
>>>>>>>
>>>>>>> I thinks it's a good work to push on the wiki. If you didn't plan it
>>> I
>>>>>> can
>>>>>>> do it ?
>>>>>>>
>>>>>>> Like that we start the plugin and jakarta migration :)
>>>>>>>
>>>>>>> Nicolas
>>>>>>>
>>>>>>> Le 20/03/2025 à 06:11, Ayan Farooqui a écrit :
>>>>>>>
>>>>>>> Hello All,
>>>>>>>
>>>>>>> I took the liberty of doing a POC to ensure a smooth transition from
>>>>>>> embedded Solr to a standalone instance while maintaining data and
>>>>>>> configuration integrity, here’s the process to follow:
>>>>>>>
>>>>>>> Before starting, stop Solr to prevent data corruption and file lock
>>>>>> issues.
>>>>>>> 1.
>>>>>>>
>>>>>>> Copy Configuration
>>>>>>> -
>>>>>>>
>>>>>>> Navigate to ${ofbiz.home}/plugins/solr/home/{YourCoreName}
>>>>>>> and copy
>>>>>>> the core configuration.
>>>>>>> -
>>>>>>>
>>>>>>> Paste it into your standalone Solr instance at
>>>>>>> solr8.11.3/server/solr/{YourCoreName}.
>>>>>>> 2.
>>>>>>>
>>>>>>> Copy Data
>>>>>>> -
>>>>>>>
>>>>>>> Locate the <dataDir> tag in solrconfig.xml to find the
>>> existing
>>>>>> data
>>>>>>> directory.
>>>>>>> -
>>>>>>>
>>>>>>> Defaults to -${ofbiz.home}/runtime/indexes/solr/products/
>>>>>>> -
>>>>>>>
>>>>>>> Copy its contents and paste them into
>>>>>>> solr8.11.3/server/solr/{YourCoreName}/data/.
>>>>>>> 3.
>>>>>>>
>>>>>>> Update Data Directory
>>>>>>> Modify -
>>> solr8.11.3/server/solr/{YourCoreName}/conf/solrconfig.xml
>>>>>> file to
>>>>>>> set the data directory to Solr’s default or a custom path: Solr
>>>>>> Default
>>>>>>> - <dataDir>${solr.data.dir:}</dataDir> Points to -
>>>>>>> solr8.11.3/server/solr/{YourCoreName}/data/. (where we copied the
>>>>>> data) If
>>>>>>> you have copied the core data to a custom path then specify
>>>>>>> that data
>>>>>>> directory
>>>>>>>
>>>>>>>
>>>>>>> Once these steps are complete, start the standalone Solr instance,
>>> and
>>>>>> your
>>>>>>> data should be intact.
>>>>>>>
>>>>>>> Kind regards,
>>>>>>> Ayan Farooqui
>>>>>>> Product Engineer
>>>>>>> *HotWax Commerce*
>>>>>>> *Real OmniChannel. Real Results.*
>>>>>>> email:ayan.farooqui@hotwax.co
>>>>>>> *www.hotwax.co<http://www.hotwax.co/> <http://www.hotwax.co/>*
>>>>>>>
>>>>>>>
>>>>>>> On Sat, Mar 15, 2025 at 5:28 PM Anshul Goyal<an...@gmail.com> <
>>>>>> ansherzz@gmail.com> wrote:
>>>>>>> Hi Jacques,
>>>>>>>
>>>>>>> One of the projects I am working on uses solr in the embedded mode,
>>>>>>> and
>>>>>>> I'll soon be migrating it to an external Solr instance.
>>>>>>> I'll document all the important code changes needed, configurations
>>>>>>> involved and challenges faced during the process.
>>>>>>>
>>>>>>> I lack knowledge of migration tools, if they're a better solution, I
>>>>>> would
>>>>>>> like to proceed that way as well.
>>>>>>>
>>>>>>> Anshul
>>>>>>>
>>>>>>> On Sat, 15 Mar 2025 at 13:17, Jacques Le Roux <
>>>>>> jacques.le.roux@les7arts.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>
>>>>>>> Hi Anshul,
>>>>>>>
>>>>>>> I see no problem creating a Confluence page to start. Of course
>>>>>>> implementing a migration tool would be better.
>>>>>>>
>>>>>>> Have someone ever done a Solr migration from the plugin to an
>>> external
>>>>>>> Solr instance?
>>>>>>>
>>>>>>> Jacques
>>>>>>>
>>>>>>> Le 12/03/2025 à 13:39, Anshul Goyal a écrit :
>>>>>>>
>>>>>>> Hi Jacques,
>>>>>>>
>>>>>>> A confluence page can serve greatly to users needing migration. The
>>>>>>>
>>>>>>> amount
>>>>>>>
>>>>>>> of detail it would carry is a concern here.
>>>>>>>
>>>>>>> A few things those are completely different in the two are:
>>>>>>>
>>>>>>> 1. Core creation process flow
>>>>>>> 2. Solr deployment process flow
>>>>>>> 3. Directory locations in both cases
>>>>>>>
>>>>>>> We can start building a confluence page, and then add on to it in
>>>>>>> progressive manner.
>>>>>>>
>>>>>>> Anshul
>>>>>>>
>>>>>>> On Wed, 12 Mar 2025, 17:22 Jacques Le Roux,<
>>>>>>>
>>>>>>> jacques.le.roux@les7arts.com
>>>>>>>
>>>>>>> wrote:
>>>>>>>
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> So what do we do?
>>>>>>>
>>>>>>> A Jira should be enough if we plan to implement a migration tool.
>>> That
>>>>>>> still needs to be decided and then planned.
>>>>>>> If we don't implement a migration tool a Confluence page would fit.
>>>>>>>
>>>>>>> But
>>>>>>>
>>>>>>> would that be enough?
>>>>>>>
>>>>>>> Should we vote about that?
>>>>>>>
>>>>>>> Jacques
>>>>>>>
>>>>>>> Le 11/03/2025 à 07:50, Chandan Khandelwal a écrit :
>>>>>>>
>>>>>>> Hello all,
>>>>>>>
>>>>>>> I agree with deprecating embedded Solr and providing a migration
>>>>>>>
>>>>>>> process
>>>>>>>
>>>>>>> for external Solr. This will allow us to move forward with the
>>>>>>>
>>>>>>> Jakarta
>>>>>>>
>>>>>>> migration.
>>>>>>>
>>>>>>>
>>>>>>> Kind Regards,
>>>>>>> Chandan Khandelwal
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Mar 10, 2025 at 9:11 PM Anshul Goyal<an...@gmail.com> <
>>>>>> ansherzz@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I too support providing a smooth transition for users of embedded
>>>>>>>
>>>>>>> version
>>>>>>>
>>>>>>> to the standalone version, keeping in mind that Jakarta migration
>>>>>>>
>>>>>>> is
>>>>>>>
>>>>>>> important and the lucene may update solr further.
>>>>>>>
>>>>>>> This seems like a good way to deal with it.
>>>>>>>
>>>>>>> Best regards
>>>>>>> Anshul Goyal
>>>>>>>
>>>>>>> On Mon, 10 Mar 2025, 20:52 Jacopo Cappellato, <
>>>>>>>
>>>>>>> jacopo.cappellato@gmail.com
>>>>>>>
>>>>>>> wrote:
>>>>>>>
>>>>>>>
>>>>>>> I also support the idea of deprecating the embedded mode of
>>>>>>>
>>>>>>> integrating
>>>>>>>
>>>>>>> SOLR.
>>>>>>> To address Michael's concerns of existing users, we could provide
>>>>>>> tools, mechanisms, or guidelines to help streamline the transition
>>>>>>> from embedded to external SOLR.
>>>>>>>
>>>>>>> Jacopo
>>>>>>>
>>>>>>> On Mon, Mar 10, 2025 at 3:47 PM Michael Brohl <
>>>>>>>
>>>>>>> michael.brohl@ecomify.de>
>>>>>>>
>>>>>>> wrote:
>>>>>>>
>>>>>>> Hi Deepak,
>>>>>>>
>>>>>>> I know that embedded Solr is used so that does not seem to be a
>>>>>>>
>>>>>>> valid
>>>>>>>
>>>>>>> solution.
>>>>>>>
>>>>>>> Best regards,
>>>>>>>
>>>>>>> Michael Brohl
>>>>>>>
>>>>>>> ecomify GmbH -www.ecomify.de
>>>>>>>
>>>>>>> Am 10.03.25 um 07:51 schrieb Deepak Dixit:
>>>>>>>
>>>>>>> We can update the Solr plugin to connect with an external Solr
>>>>>>>
>>>>>>> instance
>>>>>>>
>>>>>>> instead of running it embedded. I believe no one uses Solr in
>>>>>>>
>>>>>>> embedded
>>>>>>>
>>>>>>> mode
>>>>>>>
>>>>>>> in production,
>>>>>>> so it's best to treat Solr as an external system.
>>>>>>> With the Solr plugin update, we can configure it to communicate
>>>>>>>
>>>>>>> with
>>>>>>>
>>>>>>> an
>>>>>>>
>>>>>>> external Solr instance.
>>>>>>> To make it developer-friendly, we can also provide a Gradle task
>>>>>>>
>>>>>>> to
>>>>>>>
>>>>>>> download and run Solr in the development environment.
>>>>>>>
>>>>>>> --
>>>>>>> Deepak Dixitofbiz.apache.org
>>>>>>>
>>>>>>>
>>>>>>>
>>>
Re: Jakarta migration and Solr plugin
Posted by Ayan Farooqui <ay...@hotwax.co>.
Hello Team,
I have published the document -
https://cwiki.apache.org/confluence/display/OFBIZ/How+to+Migrate+from+Embedded+Solr+to+Standalone+Solr
Best Regards,
Ayan Farooqui
Product Engineer
*HotWax Commerce*
*Real OmniChannel. Real Results.*
email: ayan.farooqui@hotwax.co
*www.hotwax.co <http://www.hotwax.co/>*
On Thu, Apr 10, 2025 at 10:33 AM Ayan Farooqui <ay...@hotwax.co>
wrote:
> Hello,
>
> I got stuck in resetting password of my Confluence account, will get it
> resolved or create a new one and post the migration steps today.
>
> Kind regards,
> Ayan Farooqui
> Product Engineer
> *HotWax Commerce*
> *Real OmniChannel. Real Results.*
> email: ayan.farooqui@hotwax.co
> *www.hotwax.co <http://www.hotwax.co/>*
>
>
> On Wed, Apr 9, 2025 at 9:02 PM Nicolas Malin <ni...@nereide.fr>
> wrote:
>
>> It's done on trunk :)
>>
>> Thanks all !
>>
>> Le 09/04/2025 à 09:13, Nicolas Malin a écrit :
>> > :) Thanks Deepak,
>> >
>> > I planned to ask this morning so perfect time :D
>> >
>> > I'll move this days solr to attic and push jakarta migration by the way.
>> >
>> > Nicolas
>> >
>> > Le 09/04/2025 à 06:55, Deepak Dixit a écrit :
>> >> Hi Ayan,
>> >>
>> >> Did you get a chance to create a wiki page for solr embedded to
>> external
>> >> migration ?
>> >>
>> >> We can track the effort in the following jira tak.
>> >> Move solr component to Attic
>> >> <https://issues.apache.org/jira/browse/OFBIZ-13220>
>> >>
>> >> Thanks & Regards
>> >> --
>> >> Deepak Dixit
>> >> ofbiz.apache.org
>> >>
>> >>
>> >> On Fri, Mar 21, 2025 at 3:23 PM Ayan Farooqui<ay...@hotwax.co>
>> >> wrote:
>> >>
>> >>> Hi Nicolas,
>> >>>
>> >>> Thanks for your kind words! I really appreciate your offer to push
>> >>> it to
>> >>> the wiki. But, I’d like to take the initiative to add it myself.
>> >>>
>> >>> I'll make sure to update the wiki soon and will share the link once
>> >>> it's
>> >>> live. Please let me know if you have any suggestions or improvements
>> to
>> >>> include!
>> >>>
>> >>> Kind regards,
>> >>> Ayan Farooqui
>> >>> Product Engineer
>> >>> *HotWax Commerce*
>> >>> *Real OmniChannel. Real Results.*
>> >>> email:ayan.farooqui@hotwax.co
>> >>> *www.hotwax.co<http://www.hotwax.co/>*
>> >>>
>> >>>
>> >>> On Fri, Mar 21, 2025 at 3:17 PM Nicolas Malin<
>> nicolas.malin@nereide.fr>
>> >>> wrote:
>> >>>
>> >>>> Hello Ayan,
>> >>>>
>> >>>> Thanks for this sharing, it's really cool.
>> >>>>
>> >>>> I thinks it's a good work to push on the wiki. If you didn't plan it
>> I
>> >>> can
>> >>>> do it ?
>> >>>>
>> >>>> Like that we start the plugin and jakarta migration :)
>> >>>>
>> >>>> Nicolas
>> >>>>
>> >>>> Le 20/03/2025 à 06:11, Ayan Farooqui a écrit :
>> >>>>
>> >>>> Hello All,
>> >>>>
>> >>>> I took the liberty of doing a POC to ensure a smooth transition from
>> >>>> embedded Solr to a standalone instance while maintaining data and
>> >>>> configuration integrity, here’s the process to follow:
>> >>>>
>> >>>> Before starting, stop Solr to prevent data corruption and file lock
>> >>> issues.
>> >>>> 1.
>> >>>>
>> >>>> Copy Configuration
>> >>>> -
>> >>>>
>> >>>> Navigate to ${ofbiz.home}/plugins/solr/home/{YourCoreName}
>> >>>> and copy
>> >>>> the core configuration.
>> >>>> -
>> >>>>
>> >>>> Paste it into your standalone Solr instance at
>> >>>> solr8.11.3/server/solr/{YourCoreName}.
>> >>>> 2.
>> >>>>
>> >>>> Copy Data
>> >>>> -
>> >>>>
>> >>>> Locate the <dataDir> tag in solrconfig.xml to find the
>> existing
>> >>> data
>> >>>> directory.
>> >>>> -
>> >>>>
>> >>>> Defaults to -${ofbiz.home}/runtime/indexes/solr/products/
>> >>>> -
>> >>>>
>> >>>> Copy its contents and paste them into
>> >>>> solr8.11.3/server/solr/{YourCoreName}/data/.
>> >>>> 3.
>> >>>>
>> >>>> Update Data Directory
>> >>>> Modify -
>> solr8.11.3/server/solr/{YourCoreName}/conf/solrconfig.xml
>> >>> file to
>> >>>> set the data directory to Solr’s default or a custom path: Solr
>> >>> Default
>> >>>> - <dataDir>${solr.data.dir:}</dataDir> Points to -
>> >>>> solr8.11.3/server/solr/{YourCoreName}/data/. (where we copied the
>> >>> data) If
>> >>>> you have copied the core data to a custom path then specify
>> >>>> that data
>> >>>> directory
>> >>>>
>> >>>>
>> >>>> Once these steps are complete, start the standalone Solr instance,
>> and
>> >>> your
>> >>>> data should be intact.
>> >>>>
>> >>>> Kind regards,
>> >>>> Ayan Farooqui
>> >>>> Product Engineer
>> >>>> *HotWax Commerce*
>> >>>> *Real OmniChannel. Real Results.*
>> >>>> email:ayan.farooqui@hotwax.co
>> >>>> *www.hotwax.co<http://www.hotwax.co/> <http://www.hotwax.co/>*
>> >>>>
>> >>>>
>> >>>> On Sat, Mar 15, 2025 at 5:28 PM Anshul Goyal<an...@gmail.com> <
>> >>> ansherzz@gmail.com> wrote:
>> >>>>
>> >>>> Hi Jacques,
>> >>>>
>> >>>> One of the projects I am working on uses solr in the embedded mode,
>> >>>> and
>> >>>> I'll soon be migrating it to an external Solr instance.
>> >>>> I'll document all the important code changes needed, configurations
>> >>>> involved and challenges faced during the process.
>> >>>>
>> >>>> I lack knowledge of migration tools, if they're a better solution, I
>> >>> would
>> >>>> like to proceed that way as well.
>> >>>>
>> >>>> Anshul
>> >>>>
>> >>>> On Sat, 15 Mar 2025 at 13:17, Jacques Le Roux <
>> >>> jacques.le.roux@les7arts.com>
>> >>>> wrote:
>> >>>>
>> >>>>
>> >>>> Hi Anshul,
>> >>>>
>> >>>> I see no problem creating a Confluence page to start. Of course
>> >>>> implementing a migration tool would be better.
>> >>>>
>> >>>> Have someone ever done a Solr migration from the plugin to an
>> external
>> >>>> Solr instance?
>> >>>>
>> >>>> Jacques
>> >>>>
>> >>>> Le 12/03/2025 à 13:39, Anshul Goyal a écrit :
>> >>>>
>> >>>> Hi Jacques,
>> >>>>
>> >>>> A confluence page can serve greatly to users needing migration. The
>> >>>>
>> >>>> amount
>> >>>>
>> >>>> of detail it would carry is a concern here.
>> >>>>
>> >>>> A few things those are completely different in the two are:
>> >>>>
>> >>>> 1. Core creation process flow
>> >>>> 2. Solr deployment process flow
>> >>>> 3. Directory locations in both cases
>> >>>>
>> >>>> We can start building a confluence page, and then add on to it in
>> >>>> progressive manner.
>> >>>>
>> >>>> Anshul
>> >>>>
>> >>>> On Wed, 12 Mar 2025, 17:22 Jacques Le Roux,<
>> >>>>
>> >>>> jacques.le.roux@les7arts.com
>> >>>>
>> >>>> wrote:
>> >>>>
>> >>>>
>> >>>> Hi,
>> >>>>
>> >>>> So what do we do?
>> >>>>
>> >>>> A Jira should be enough if we plan to implement a migration tool.
>> That
>> >>>> still needs to be decided and then planned.
>> >>>> If we don't implement a migration tool a Confluence page would fit.
>> >>>>
>> >>>> But
>> >>>>
>> >>>> would that be enough?
>> >>>>
>> >>>> Should we vote about that?
>> >>>>
>> >>>> Jacques
>> >>>>
>> >>>> Le 11/03/2025 à 07:50, Chandan Khandelwal a écrit :
>> >>>>
>> >>>> Hello all,
>> >>>>
>> >>>> I agree with deprecating embedded Solr and providing a migration
>> >>>>
>> >>>> process
>> >>>>
>> >>>> for external Solr. This will allow us to move forward with the
>> >>>>
>> >>>> Jakarta
>> >>>>
>> >>>> migration.
>> >>>>
>> >>>>
>> >>>> Kind Regards,
>> >>>> Chandan Khandelwal
>> >>>>
>> >>>>
>> >>>>
>> >>>> On Mon, Mar 10, 2025 at 9:11 PM Anshul Goyal<an...@gmail.com> <
>> >>> ansherzz@gmail.com>
>> >>>> wrote:
>> >>>>
>> >>>> Hi all,
>> >>>>
>> >>>> I too support providing a smooth transition for users of embedded
>> >>>>
>> >>>> version
>> >>>>
>> >>>> to the standalone version, keeping in mind that Jakarta migration
>> >>>>
>> >>>> is
>> >>>>
>> >>>> important and the lucene may update solr further.
>> >>>>
>> >>>> This seems like a good way to deal with it.
>> >>>>
>> >>>> Best regards
>> >>>> Anshul Goyal
>> >>>>
>> >>>> On Mon, 10 Mar 2025, 20:52 Jacopo Cappellato, <
>> >>>>
>> >>>> jacopo.cappellato@gmail.com
>> >>>>
>> >>>> wrote:
>> >>>>
>> >>>>
>> >>>> I also support the idea of deprecating the embedded mode of
>> >>>>
>> >>>> integrating
>> >>>>
>> >>>> SOLR.
>> >>>> To address Michael's concerns of existing users, we could provide
>> >>>> tools, mechanisms, or guidelines to help streamline the transition
>> >>>> from embedded to external SOLR.
>> >>>>
>> >>>> Jacopo
>> >>>>
>> >>>> On Mon, Mar 10, 2025 at 3:47 PM Michael Brohl <
>> >>>>
>> >>>> michael.brohl@ecomify.de>
>> >>>>
>> >>>> wrote:
>> >>>>
>> >>>> Hi Deepak,
>> >>>>
>> >>>> I know that embedded Solr is used so that does not seem to be a
>> >>>>
>> >>>> valid
>> >>>>
>> >>>> solution.
>> >>>>
>> >>>> Best regards,
>> >>>>
>> >>>> Michael Brohl
>> >>>>
>> >>>> ecomify GmbH -www.ecomify.de
>> >>>>
>> >>>> Am 10.03.25 um 07:51 schrieb Deepak Dixit:
>> >>>>
>> >>>> We can update the Solr plugin to connect with an external Solr
>> >>>>
>> >>>> instance
>> >>>>
>> >>>> instead of running it embedded. I believe no one uses Solr in
>> >>>>
>> >>>> embedded
>> >>>>
>> >>>> mode
>> >>>>
>> >>>> in production,
>> >>>> so it's best to treat Solr as an external system.
>> >>>> With the Solr plugin update, we can configure it to communicate
>> >>>>
>> >>>> with
>> >>>>
>> >>>> an
>> >>>>
>> >>>> external Solr instance.
>> >>>> To make it developer-friendly, we can also provide a Gradle task
>> >>>>
>> >>>> to
>> >>>>
>> >>>> download and run Solr in the development environment.
>> >>>>
>> >>>> --
>> >>>> Deepak Dixitofbiz.apache.org
>> >>>>
>> >>>>
>> >>>>
>> >
>>
>>
Re: Jakarta migration and Solr plugin
Posted by Ayan Farooqui <ay...@hotwax.co>.
Hello,
I got stuck in resetting password of my Confluence account, will get it
resolved or create a new one and post the migration steps today.
Kind regards,
Ayan Farooqui
Product Engineer
*HotWax Commerce*
*Real OmniChannel. Real Results.*
email: ayan.farooqui@hotwax.co
*www.hotwax.co <http://www.hotwax.co/>*
On Wed, Apr 9, 2025 at 9:02 PM Nicolas Malin <ni...@nereide.fr>
wrote:
> It's done on trunk :)
>
> Thanks all !
>
> Le 09/04/2025 à 09:13, Nicolas Malin a écrit :
> > :) Thanks Deepak,
> >
> > I planned to ask this morning so perfect time :D
> >
> > I'll move this days solr to attic and push jakarta migration by the way.
> >
> > Nicolas
> >
> > Le 09/04/2025 à 06:55, Deepak Dixit a écrit :
> >> Hi Ayan,
> >>
> >> Did you get a chance to create a wiki page for solr embedded to external
> >> migration ?
> >>
> >> We can track the effort in the following jira tak.
> >> Move solr component to Attic
> >> <https://issues.apache.org/jira/browse/OFBIZ-13220>
> >>
> >> Thanks & Regards
> >> --
> >> Deepak Dixit
> >> ofbiz.apache.org
> >>
> >>
> >> On Fri, Mar 21, 2025 at 3:23 PM Ayan Farooqui<ay...@hotwax.co>
> >> wrote:
> >>
> >>> Hi Nicolas,
> >>>
> >>> Thanks for your kind words! I really appreciate your offer to push
> >>> it to
> >>> the wiki. But, I’d like to take the initiative to add it myself.
> >>>
> >>> I'll make sure to update the wiki soon and will share the link once
> >>> it's
> >>> live. Please let me know if you have any suggestions or improvements to
> >>> include!
> >>>
> >>> Kind regards,
> >>> Ayan Farooqui
> >>> Product Engineer
> >>> *HotWax Commerce*
> >>> *Real OmniChannel. Real Results.*
> >>> email:ayan.farooqui@hotwax.co
> >>> *www.hotwax.co<http://www.hotwax.co/>*
> >>>
> >>>
> >>> On Fri, Mar 21, 2025 at 3:17 PM Nicolas Malin<nicolas.malin@nereide.fr
> >
> >>> wrote:
> >>>
> >>>> Hello Ayan,
> >>>>
> >>>> Thanks for this sharing, it's really cool.
> >>>>
> >>>> I thinks it's a good work to push on the wiki. If you didn't plan it I
> >>> can
> >>>> do it ?
> >>>>
> >>>> Like that we start the plugin and jakarta migration :)
> >>>>
> >>>> Nicolas
> >>>>
> >>>> Le 20/03/2025 à 06:11, Ayan Farooqui a écrit :
> >>>>
> >>>> Hello All,
> >>>>
> >>>> I took the liberty of doing a POC to ensure a smooth transition from
> >>>> embedded Solr to a standalone instance while maintaining data and
> >>>> configuration integrity, here’s the process to follow:
> >>>>
> >>>> Before starting, stop Solr to prevent data corruption and file lock
> >>> issues.
> >>>> 1.
> >>>>
> >>>> Copy Configuration
> >>>> -
> >>>>
> >>>> Navigate to ${ofbiz.home}/plugins/solr/home/{YourCoreName}
> >>>> and copy
> >>>> the core configuration.
> >>>> -
> >>>>
> >>>> Paste it into your standalone Solr instance at
> >>>> solr8.11.3/server/solr/{YourCoreName}.
> >>>> 2.
> >>>>
> >>>> Copy Data
> >>>> -
> >>>>
> >>>> Locate the <dataDir> tag in solrconfig.xml to find the existing
> >>> data
> >>>> directory.
> >>>> -
> >>>>
> >>>> Defaults to -${ofbiz.home}/runtime/indexes/solr/products/
> >>>> -
> >>>>
> >>>> Copy its contents and paste them into
> >>>> solr8.11.3/server/solr/{YourCoreName}/data/.
> >>>> 3.
> >>>>
> >>>> Update Data Directory
> >>>> Modify - solr8.11.3/server/solr/{YourCoreName}/conf/solrconfig.xml
> >>> file to
> >>>> set the data directory to Solr’s default or a custom path: Solr
> >>> Default
> >>>> - <dataDir>${solr.data.dir:}</dataDir> Points to -
> >>>> solr8.11.3/server/solr/{YourCoreName}/data/. (where we copied the
> >>> data) If
> >>>> you have copied the core data to a custom path then specify
> >>>> that data
> >>>> directory
> >>>>
> >>>>
> >>>> Once these steps are complete, start the standalone Solr instance, and
> >>> your
> >>>> data should be intact.
> >>>>
> >>>> Kind regards,
> >>>> Ayan Farooqui
> >>>> Product Engineer
> >>>> *HotWax Commerce*
> >>>> *Real OmniChannel. Real Results.*
> >>>> email:ayan.farooqui@hotwax.co
> >>>> *www.hotwax.co<http://www.hotwax.co/> <http://www.hotwax.co/>*
> >>>>
> >>>>
> >>>> On Sat, Mar 15, 2025 at 5:28 PM Anshul Goyal<an...@gmail.com> <
> >>> ansherzz@gmail.com> wrote:
> >>>>
> >>>> Hi Jacques,
> >>>>
> >>>> One of the projects I am working on uses solr in the embedded mode,
> >>>> and
> >>>> I'll soon be migrating it to an external Solr instance.
> >>>> I'll document all the important code changes needed, configurations
> >>>> involved and challenges faced during the process.
> >>>>
> >>>> I lack knowledge of migration tools, if they're a better solution, I
> >>> would
> >>>> like to proceed that way as well.
> >>>>
> >>>> Anshul
> >>>>
> >>>> On Sat, 15 Mar 2025 at 13:17, Jacques Le Roux <
> >>> jacques.le.roux@les7arts.com>
> >>>> wrote:
> >>>>
> >>>>
> >>>> Hi Anshul,
> >>>>
> >>>> I see no problem creating a Confluence page to start. Of course
> >>>> implementing a migration tool would be better.
> >>>>
> >>>> Have someone ever done a Solr migration from the plugin to an external
> >>>> Solr instance?
> >>>>
> >>>> Jacques
> >>>>
> >>>> Le 12/03/2025 à 13:39, Anshul Goyal a écrit :
> >>>>
> >>>> Hi Jacques,
> >>>>
> >>>> A confluence page can serve greatly to users needing migration. The
> >>>>
> >>>> amount
> >>>>
> >>>> of detail it would carry is a concern here.
> >>>>
> >>>> A few things those are completely different in the two are:
> >>>>
> >>>> 1. Core creation process flow
> >>>> 2. Solr deployment process flow
> >>>> 3. Directory locations in both cases
> >>>>
> >>>> We can start building a confluence page, and then add on to it in
> >>>> progressive manner.
> >>>>
> >>>> Anshul
> >>>>
> >>>> On Wed, 12 Mar 2025, 17:22 Jacques Le Roux,<
> >>>>
> >>>> jacques.le.roux@les7arts.com
> >>>>
> >>>> wrote:
> >>>>
> >>>>
> >>>> Hi,
> >>>>
> >>>> So what do we do?
> >>>>
> >>>> A Jira should be enough if we plan to implement a migration tool. That
> >>>> still needs to be decided and then planned.
> >>>> If we don't implement a migration tool a Confluence page would fit.
> >>>>
> >>>> But
> >>>>
> >>>> would that be enough?
> >>>>
> >>>> Should we vote about that?
> >>>>
> >>>> Jacques
> >>>>
> >>>> Le 11/03/2025 à 07:50, Chandan Khandelwal a écrit :
> >>>>
> >>>> Hello all,
> >>>>
> >>>> I agree with deprecating embedded Solr and providing a migration
> >>>>
> >>>> process
> >>>>
> >>>> for external Solr. This will allow us to move forward with the
> >>>>
> >>>> Jakarta
> >>>>
> >>>> migration.
> >>>>
> >>>>
> >>>> Kind Regards,
> >>>> Chandan Khandelwal
> >>>>
> >>>>
> >>>>
> >>>> On Mon, Mar 10, 2025 at 9:11 PM Anshul Goyal<an...@gmail.com> <
> >>> ansherzz@gmail.com>
> >>>> wrote:
> >>>>
> >>>> Hi all,
> >>>>
> >>>> I too support providing a smooth transition for users of embedded
> >>>>
> >>>> version
> >>>>
> >>>> to the standalone version, keeping in mind that Jakarta migration
> >>>>
> >>>> is
> >>>>
> >>>> important and the lucene may update solr further.
> >>>>
> >>>> This seems like a good way to deal with it.
> >>>>
> >>>> Best regards
> >>>> Anshul Goyal
> >>>>
> >>>> On Mon, 10 Mar 2025, 20:52 Jacopo Cappellato, <
> >>>>
> >>>> jacopo.cappellato@gmail.com
> >>>>
> >>>> wrote:
> >>>>
> >>>>
> >>>> I also support the idea of deprecating the embedded mode of
> >>>>
> >>>> integrating
> >>>>
> >>>> SOLR.
> >>>> To address Michael's concerns of existing users, we could provide
> >>>> tools, mechanisms, or guidelines to help streamline the transition
> >>>> from embedded to external SOLR.
> >>>>
> >>>> Jacopo
> >>>>
> >>>> On Mon, Mar 10, 2025 at 3:47 PM Michael Brohl <
> >>>>
> >>>> michael.brohl@ecomify.de>
> >>>>
> >>>> wrote:
> >>>>
> >>>> Hi Deepak,
> >>>>
> >>>> I know that embedded Solr is used so that does not seem to be a
> >>>>
> >>>> valid
> >>>>
> >>>> solution.
> >>>>
> >>>> Best regards,
> >>>>
> >>>> Michael Brohl
> >>>>
> >>>> ecomify GmbH -www.ecomify.de
> >>>>
> >>>> Am 10.03.25 um 07:51 schrieb Deepak Dixit:
> >>>>
> >>>> We can update the Solr plugin to connect with an external Solr
> >>>>
> >>>> instance
> >>>>
> >>>> instead of running it embedded. I believe no one uses Solr in
> >>>>
> >>>> embedded
> >>>>
> >>>> mode
> >>>>
> >>>> in production,
> >>>> so it's best to treat Solr as an external system.
> >>>> With the Solr plugin update, we can configure it to communicate
> >>>>
> >>>> with
> >>>>
> >>>> an
> >>>>
> >>>> external Solr instance.
> >>>> To make it developer-friendly, we can also provide a Gradle task
> >>>>
> >>>> to
> >>>>
> >>>> download and run Solr in the development environment.
> >>>>
> >>>> --
> >>>> Deepak Dixitofbiz.apache.org
> >>>>
> >>>>
> >>>>
> >
>
>
Re: Jakarta migration and Solr plugin
Posted by Nicolas Malin <ni...@nereide.fr>.
It's done on trunk :)
Thanks all !
Le 09/04/2025 à 09:13, Nicolas Malin a écrit :
> :) Thanks Deepak,
>
> I planned to ask this morning so perfect time :D
>
> I'll move this days solr to attic and push jakarta migration by the way.
>
> Nicolas
>
> Le 09/04/2025 à 06:55, Deepak Dixit a écrit :
>> Hi Ayan,
>>
>> Did you get a chance to create a wiki page for solr embedded to external
>> migration ?
>>
>> We can track the effort in the following jira tak.
>> Move solr component to Attic
>> <https://issues.apache.org/jira/browse/OFBIZ-13220>
>>
>> Thanks & Regards
>> --
>> Deepak Dixit
>> ofbiz.apache.org
>>
>>
>> On Fri, Mar 21, 2025 at 3:23 PM Ayan Farooqui<ay...@hotwax.co>
>> wrote:
>>
>>> Hi Nicolas,
>>>
>>> Thanks for your kind words! I really appreciate your offer to push
>>> it to
>>> the wiki. But, I’d like to take the initiative to add it myself.
>>>
>>> I'll make sure to update the wiki soon and will share the link once
>>> it's
>>> live. Please let me know if you have any suggestions or improvements to
>>> include!
>>>
>>> Kind regards,
>>> Ayan Farooqui
>>> Product Engineer
>>> *HotWax Commerce*
>>> *Real OmniChannel. Real Results.*
>>> email:ayan.farooqui@hotwax.co
>>> *www.hotwax.co<http://www.hotwax.co/>*
>>>
>>>
>>> On Fri, Mar 21, 2025 at 3:17 PM Nicolas Malin<ni...@nereide.fr>
>>> wrote:
>>>
>>>> Hello Ayan,
>>>>
>>>> Thanks for this sharing, it's really cool.
>>>>
>>>> I thinks it's a good work to push on the wiki. If you didn't plan it I
>>> can
>>>> do it ?
>>>>
>>>> Like that we start the plugin and jakarta migration :)
>>>>
>>>> Nicolas
>>>>
>>>> Le 20/03/2025 à 06:11, Ayan Farooqui a écrit :
>>>>
>>>> Hello All,
>>>>
>>>> I took the liberty of doing a POC to ensure a smooth transition from
>>>> embedded Solr to a standalone instance while maintaining data and
>>>> configuration integrity, here’s the process to follow:
>>>>
>>>> Before starting, stop Solr to prevent data corruption and file lock
>>> issues.
>>>> 1.
>>>>
>>>> Copy Configuration
>>>> -
>>>>
>>>> Navigate to ${ofbiz.home}/plugins/solr/home/{YourCoreName}
>>>> and copy
>>>> the core configuration.
>>>> -
>>>>
>>>> Paste it into your standalone Solr instance at
>>>> solr8.11.3/server/solr/{YourCoreName}.
>>>> 2.
>>>>
>>>> Copy Data
>>>> -
>>>>
>>>> Locate the <dataDir> tag in solrconfig.xml to find the existing
>>> data
>>>> directory.
>>>> -
>>>>
>>>> Defaults to -${ofbiz.home}/runtime/indexes/solr/products/
>>>> -
>>>>
>>>> Copy its contents and paste them into
>>>> solr8.11.3/server/solr/{YourCoreName}/data/.
>>>> 3.
>>>>
>>>> Update Data Directory
>>>> Modify - solr8.11.3/server/solr/{YourCoreName}/conf/solrconfig.xml
>>> file to
>>>> set the data directory to Solr’s default or a custom path: Solr
>>> Default
>>>> - <dataDir>${solr.data.dir:}</dataDir> Points to -
>>>> solr8.11.3/server/solr/{YourCoreName}/data/. (where we copied the
>>> data) If
>>>> you have copied the core data to a custom path then specify
>>>> that data
>>>> directory
>>>>
>>>>
>>>> Once these steps are complete, start the standalone Solr instance, and
>>> your
>>>> data should be intact.
>>>>
>>>> Kind regards,
>>>> Ayan Farooqui
>>>> Product Engineer
>>>> *HotWax Commerce*
>>>> *Real OmniChannel. Real Results.*
>>>> email:ayan.farooqui@hotwax.co
>>>> *www.hotwax.co<http://www.hotwax.co/> <http://www.hotwax.co/>*
>>>>
>>>>
>>>> On Sat, Mar 15, 2025 at 5:28 PM Anshul Goyal<an...@gmail.com> <
>>> ansherzz@gmail.com> wrote:
>>>>
>>>> Hi Jacques,
>>>>
>>>> One of the projects I am working on uses solr in the embedded mode,
>>>> and
>>>> I'll soon be migrating it to an external Solr instance.
>>>> I'll document all the important code changes needed, configurations
>>>> involved and challenges faced during the process.
>>>>
>>>> I lack knowledge of migration tools, if they're a better solution, I
>>> would
>>>> like to proceed that way as well.
>>>>
>>>> Anshul
>>>>
>>>> On Sat, 15 Mar 2025 at 13:17, Jacques Le Roux <
>>> jacques.le.roux@les7arts.com>
>>>> wrote:
>>>>
>>>>
>>>> Hi Anshul,
>>>>
>>>> I see no problem creating a Confluence page to start. Of course
>>>> implementing a migration tool would be better.
>>>>
>>>> Have someone ever done a Solr migration from the plugin to an external
>>>> Solr instance?
>>>>
>>>> Jacques
>>>>
>>>> Le 12/03/2025 à 13:39, Anshul Goyal a écrit :
>>>>
>>>> Hi Jacques,
>>>>
>>>> A confluence page can serve greatly to users needing migration. The
>>>>
>>>> amount
>>>>
>>>> of detail it would carry is a concern here.
>>>>
>>>> A few things those are completely different in the two are:
>>>>
>>>> 1. Core creation process flow
>>>> 2. Solr deployment process flow
>>>> 3. Directory locations in both cases
>>>>
>>>> We can start building a confluence page, and then add on to it in
>>>> progressive manner.
>>>>
>>>> Anshul
>>>>
>>>> On Wed, 12 Mar 2025, 17:22 Jacques Le Roux,<
>>>>
>>>> jacques.le.roux@les7arts.com
>>>>
>>>> wrote:
>>>>
>>>>
>>>> Hi,
>>>>
>>>> So what do we do?
>>>>
>>>> A Jira should be enough if we plan to implement a migration tool. That
>>>> still needs to be decided and then planned.
>>>> If we don't implement a migration tool a Confluence page would fit.
>>>>
>>>> But
>>>>
>>>> would that be enough?
>>>>
>>>> Should we vote about that?
>>>>
>>>> Jacques
>>>>
>>>> Le 11/03/2025 à 07:50, Chandan Khandelwal a écrit :
>>>>
>>>> Hello all,
>>>>
>>>> I agree with deprecating embedded Solr and providing a migration
>>>>
>>>> process
>>>>
>>>> for external Solr. This will allow us to move forward with the
>>>>
>>>> Jakarta
>>>>
>>>> migration.
>>>>
>>>>
>>>> Kind Regards,
>>>> Chandan Khandelwal
>>>>
>>>>
>>>>
>>>> On Mon, Mar 10, 2025 at 9:11 PM Anshul Goyal<an...@gmail.com> <
>>> ansherzz@gmail.com>
>>>> wrote:
>>>>
>>>> Hi all,
>>>>
>>>> I too support providing a smooth transition for users of embedded
>>>>
>>>> version
>>>>
>>>> to the standalone version, keeping in mind that Jakarta migration
>>>>
>>>> is
>>>>
>>>> important and the lucene may update solr further.
>>>>
>>>> This seems like a good way to deal with it.
>>>>
>>>> Best regards
>>>> Anshul Goyal
>>>>
>>>> On Mon, 10 Mar 2025, 20:52 Jacopo Cappellato, <
>>>>
>>>> jacopo.cappellato@gmail.com
>>>>
>>>> wrote:
>>>>
>>>>
>>>> I also support the idea of deprecating the embedded mode of
>>>>
>>>> integrating
>>>>
>>>> SOLR.
>>>> To address Michael's concerns of existing users, we could provide
>>>> tools, mechanisms, or guidelines to help streamline the transition
>>>> from embedded to external SOLR.
>>>>
>>>> Jacopo
>>>>
>>>> On Mon, Mar 10, 2025 at 3:47 PM Michael Brohl <
>>>>
>>>> michael.brohl@ecomify.de>
>>>>
>>>> wrote:
>>>>
>>>> Hi Deepak,
>>>>
>>>> I know that embedded Solr is used so that does not seem to be a
>>>>
>>>> valid
>>>>
>>>> solution.
>>>>
>>>> Best regards,
>>>>
>>>> Michael Brohl
>>>>
>>>> ecomify GmbH -www.ecomify.de
>>>>
>>>> Am 10.03.25 um 07:51 schrieb Deepak Dixit:
>>>>
>>>> We can update the Solr plugin to connect with an external Solr
>>>>
>>>> instance
>>>>
>>>> instead of running it embedded. I believe no one uses Solr in
>>>>
>>>> embedded
>>>>
>>>> mode
>>>>
>>>> in production,
>>>> so it's best to treat Solr as an external system.
>>>> With the Solr plugin update, we can configure it to communicate
>>>>
>>>> with
>>>>
>>>> an
>>>>
>>>> external Solr instance.
>>>> To make it developer-friendly, we can also provide a Gradle task
>>>>
>>>> to
>>>>
>>>> download and run Solr in the development environment.
>>>>
>>>> --
>>>> Deepak Dixitofbiz.apache.org
>>>>
>>>>
>>>>
>
Re: Jakarta migration and Solr plugin
Posted by Nicolas Malin <ni...@nereide.fr>.
:) Thanks Deepak,
I planned to ask this morning so perfect time :D
I'll move this days solr to attic and push jakarta migration by the way.
Nicolas
Le 09/04/2025 à 06:55, Deepak Dixit a écrit :
> Hi Ayan,
>
> Did you get a chance to create a wiki page for solr embedded to external
> migration ?
>
> We can track the effort in the following jira tak.
> Move solr component to Attic
> <https://issues.apache.org/jira/browse/OFBIZ-13220>
>
> Thanks & Regards
> --
> Deepak Dixit
> ofbiz.apache.org
>
>
> On Fri, Mar 21, 2025 at 3:23 PM Ayan Farooqui<ay...@hotwax.co>
> wrote:
>
>> Hi Nicolas,
>>
>> Thanks for your kind words! I really appreciate your offer to push it to
>> the wiki. But, I’d like to take the initiative to add it myself.
>>
>> I'll make sure to update the wiki soon and will share the link once it's
>> live. Please let me know if you have any suggestions or improvements to
>> include!
>>
>> Kind regards,
>> Ayan Farooqui
>> Product Engineer
>> *HotWax Commerce*
>> *Real OmniChannel. Real Results.*
>> email:ayan.farooqui@hotwax.co
>> *www.hotwax.co<http://www.hotwax.co/>*
>>
>>
>> On Fri, Mar 21, 2025 at 3:17 PM Nicolas Malin<ni...@nereide.fr>
>> wrote:
>>
>>> Hello Ayan,
>>>
>>> Thanks for this sharing, it's really cool.
>>>
>>> I thinks it's a good work to push on the wiki. If you didn't plan it I
>> can
>>> do it ?
>>>
>>> Like that we start the plugin and jakarta migration :)
>>>
>>> Nicolas
>>>
>>> Le 20/03/2025 à 06:11, Ayan Farooqui a écrit :
>>>
>>> Hello All,
>>>
>>> I took the liberty of doing a POC to ensure a smooth transition from
>>> embedded Solr to a standalone instance while maintaining data and
>>> configuration integrity, here’s the process to follow:
>>>
>>> Before starting, stop Solr to prevent data corruption and file lock
>> issues.
>>> 1.
>>>
>>> Copy Configuration
>>> -
>>>
>>> Navigate to ${ofbiz.home}/plugins/solr/home/{YourCoreName} and copy
>>> the core configuration.
>>> -
>>>
>>> Paste it into your standalone Solr instance at
>>> solr8.11.3/server/solr/{YourCoreName}.
>>> 2.
>>>
>>> Copy Data
>>> -
>>>
>>> Locate the <dataDir> tag in solrconfig.xml to find the existing
>> data
>>> directory.
>>> -
>>>
>>> Defaults to -${ofbiz.home}/runtime/indexes/solr/products/
>>> -
>>>
>>> Copy its contents and paste them into
>>> solr8.11.3/server/solr/{YourCoreName}/data/.
>>> 3.
>>>
>>> Update Data Directory
>>> Modify - solr8.11.3/server/solr/{YourCoreName}/conf/solrconfig.xml
>> file to
>>> set the data directory to Solr’s default or a custom path: Solr
>> Default
>>> - <dataDir>${solr.data.dir:}</dataDir> Points to -
>>> solr8.11.3/server/solr/{YourCoreName}/data/. (where we copied the
>> data) If
>>> you have copied the core data to a custom path then specify that data
>>> directory
>>>
>>>
>>> Once these steps are complete, start the standalone Solr instance, and
>> your
>>> data should be intact.
>>>
>>> Kind regards,
>>> Ayan Farooqui
>>> Product Engineer
>>> *HotWax Commerce*
>>> *Real OmniChannel. Real Results.*
>>> email:ayan.farooqui@hotwax.co
>>> *www.hotwax.co<http://www.hotwax.co/> <http://www.hotwax.co/>*
>>>
>>>
>>> On Sat, Mar 15, 2025 at 5:28 PM Anshul Goyal<an...@gmail.com> <
>> ansherzz@gmail.com> wrote:
>>>
>>> Hi Jacques,
>>>
>>> One of the projects I am working on uses solr in the embedded mode, and
>>> I'll soon be migrating it to an external Solr instance.
>>> I'll document all the important code changes needed, configurations
>>> involved and challenges faced during the process.
>>>
>>> I lack knowledge of migration tools, if they're a better solution, I
>> would
>>> like to proceed that way as well.
>>>
>>> Anshul
>>>
>>> On Sat, 15 Mar 2025 at 13:17, Jacques Le Roux <
>> jacques.le.roux@les7arts.com>
>>> wrote:
>>>
>>>
>>> Hi Anshul,
>>>
>>> I see no problem creating a Confluence page to start. Of course
>>> implementing a migration tool would be better.
>>>
>>> Have someone ever done a Solr migration from the plugin to an external
>>> Solr instance?
>>>
>>> Jacques
>>>
>>> Le 12/03/2025 à 13:39, Anshul Goyal a écrit :
>>>
>>> Hi Jacques,
>>>
>>> A confluence page can serve greatly to users needing migration. The
>>>
>>> amount
>>>
>>> of detail it would carry is a concern here.
>>>
>>> A few things those are completely different in the two are:
>>>
>>> 1. Core creation process flow
>>> 2. Solr deployment process flow
>>> 3. Directory locations in both cases
>>>
>>> We can start building a confluence page, and then add on to it in
>>> progressive manner.
>>>
>>> Anshul
>>>
>>> On Wed, 12 Mar 2025, 17:22 Jacques Le Roux,<
>>>
>>> jacques.le.roux@les7arts.com
>>>
>>> wrote:
>>>
>>>
>>> Hi,
>>>
>>> So what do we do?
>>>
>>> A Jira should be enough if we plan to implement a migration tool. That
>>> still needs to be decided and then planned.
>>> If we don't implement a migration tool a Confluence page would fit.
>>>
>>> But
>>>
>>> would that be enough?
>>>
>>> Should we vote about that?
>>>
>>> Jacques
>>>
>>> Le 11/03/2025 à 07:50, Chandan Khandelwal a écrit :
>>>
>>> Hello all,
>>>
>>> I agree with deprecating embedded Solr and providing a migration
>>>
>>> process
>>>
>>> for external Solr. This will allow us to move forward with the
>>>
>>> Jakarta
>>>
>>> migration.
>>>
>>>
>>> Kind Regards,
>>> Chandan Khandelwal
>>>
>>>
>>>
>>> On Mon, Mar 10, 2025 at 9:11 PM Anshul Goyal<an...@gmail.com> <
>> ansherzz@gmail.com>
>>> wrote:
>>>
>>> Hi all,
>>>
>>> I too support providing a smooth transition for users of embedded
>>>
>>> version
>>>
>>> to the standalone version, keeping in mind that Jakarta migration
>>>
>>> is
>>>
>>> important and the lucene may update solr further.
>>>
>>> This seems like a good way to deal with it.
>>>
>>> Best regards
>>> Anshul Goyal
>>>
>>> On Mon, 10 Mar 2025, 20:52 Jacopo Cappellato, <
>>>
>>> jacopo.cappellato@gmail.com
>>>
>>> wrote:
>>>
>>>
>>> I also support the idea of deprecating the embedded mode of
>>>
>>> integrating
>>>
>>> SOLR.
>>> To address Michael's concerns of existing users, we could provide
>>> tools, mechanisms, or guidelines to help streamline the transition
>>> from embedded to external SOLR.
>>>
>>> Jacopo
>>>
>>> On Mon, Mar 10, 2025 at 3:47 PM Michael Brohl <
>>>
>>> michael.brohl@ecomify.de>
>>>
>>> wrote:
>>>
>>> Hi Deepak,
>>>
>>> I know that embedded Solr is used so that does not seem to be a
>>>
>>> valid
>>>
>>> solution.
>>>
>>> Best regards,
>>>
>>> Michael Brohl
>>>
>>> ecomify GmbH -www.ecomify.de
>>>
>>> Am 10.03.25 um 07:51 schrieb Deepak Dixit:
>>>
>>> We can update the Solr plugin to connect with an external Solr
>>>
>>> instance
>>>
>>> instead of running it embedded. I believe no one uses Solr in
>>>
>>> embedded
>>>
>>> mode
>>>
>>> in production,
>>> so it's best to treat Solr as an external system.
>>> With the Solr plugin update, we can configure it to communicate
>>>
>>> with
>>>
>>> an
>>>
>>> external Solr instance.
>>> To make it developer-friendly, we can also provide a Gradle task
>>>
>>> to
>>>
>>> download and run Solr in the development environment.
>>>
>>> --
>>> Deepak Dixitofbiz.apache.org
>>>
>>>
>>>
Re: Jakarta migration and Solr plugin
Posted by Deepak Dixit <de...@apache.org>.
Hi Ayan,
Did you get a chance to create a wiki page for solr embedded to external
migration ?
We can track the effort in the following jira tak.
Move solr component to Attic
<https://issues.apache.org/jira/browse/OFBIZ-13220>
Thanks & Regards
--
Deepak Dixit
ofbiz.apache.org
On Fri, Mar 21, 2025 at 3:23 PM Ayan Farooqui <ay...@hotwax.co>
wrote:
> Hi Nicolas,
>
> Thanks for your kind words! I really appreciate your offer to push it to
> the wiki. But, I’d like to take the initiative to add it myself.
>
> I'll make sure to update the wiki soon and will share the link once it's
> live. Please let me know if you have any suggestions or improvements to
> include!
>
> Kind regards,
> Ayan Farooqui
> Product Engineer
> *HotWax Commerce*
> *Real OmniChannel. Real Results.*
> email: ayan.farooqui@hotwax.co
> *www.hotwax.co <http://www.hotwax.co/>*
>
>
> On Fri, Mar 21, 2025 at 3:17 PM Nicolas Malin <ni...@nereide.fr>
> wrote:
>
> > Hello Ayan,
> >
> > Thanks for this sharing, it's really cool.
> >
> > I thinks it's a good work to push on the wiki. If you didn't plan it I
> can
> > do it ?
> >
> > Like that we start the plugin and jakarta migration :)
> >
> > Nicolas
> >
> > Le 20/03/2025 à 06:11, Ayan Farooqui a écrit :
> >
> > Hello All,
> >
> > I took the liberty of doing a POC to ensure a smooth transition from
> > embedded Solr to a standalone instance while maintaining data and
> > configuration integrity, here’s the process to follow:
> >
> > Before starting, stop Solr to prevent data corruption and file lock
> issues.
> >
> > 1.
> >
> > Copy Configuration
> > -
> >
> > Navigate to ${ofbiz.home}/plugins/solr/home/{YourCoreName} and copy
> > the core configuration.
> > -
> >
> > Paste it into your standalone Solr instance at
> > solr8.11.3/server/solr/{YourCoreName}.
> > 2.
> >
> > Copy Data
> > -
> >
> > Locate the <dataDir> tag in solrconfig.xml to find the existing
> data
> > directory.
> > -
> >
> > Defaults to -${ofbiz.home}/runtime/indexes/solr/products/
> > -
> >
> > Copy its contents and paste them into
> > solr8.11.3/server/solr/{YourCoreName}/data/.
> > 3.
> >
> > Update Data Directory
> > Modify - solr8.11.3/server/solr/{YourCoreName}/conf/solrconfig.xml
> file to
> > set the data directory to Solr’s default or a custom path: Solr
> Default
> > - <dataDir>${solr.data.dir:}</dataDir> Points to -
> > solr8.11.3/server/solr/{YourCoreName}/data/. (where we copied the
> data) If
> > you have copied the core data to a custom path then specify that data
> > directory
> >
> >
> > Once these steps are complete, start the standalone Solr instance, and
> your
> > data should be intact.
> >
> > Kind regards,
> > Ayan Farooqui
> > Product Engineer
> > *HotWax Commerce*
> > *Real OmniChannel. Real Results.*
> > email: ayan.farooqui@hotwax.co
> > *www.hotwax.co <http://www.hotwax.co/> <http://www.hotwax.co/>*
> >
> >
> > On Sat, Mar 15, 2025 at 5:28 PM Anshul Goyal <an...@gmail.com> <
> ansherzz@gmail.com> wrote:
> >
> >
> > Hi Jacques,
> >
> > One of the projects I am working on uses solr in the embedded mode, and
> > I'll soon be migrating it to an external Solr instance.
> > I'll document all the important code changes needed, configurations
> > involved and challenges faced during the process.
> >
> > I lack knowledge of migration tools, if they're a better solution, I
> would
> > like to proceed that way as well.
> >
> > Anshul
> >
> > On Sat, 15 Mar 2025 at 13:17, Jacques Le Roux <
> jacques.le.roux@les7arts.com>
> > wrote:
> >
> >
> > Hi Anshul,
> >
> > I see no problem creating a Confluence page to start. Of course
> > implementing a migration tool would be better.
> >
> > Have someone ever done a Solr migration from the plugin to an external
> > Solr instance?
> >
> > Jacques
> >
> > Le 12/03/2025 à 13:39, Anshul Goyal a écrit :
> >
> > Hi Jacques,
> >
> > A confluence page can serve greatly to users needing migration. The
> >
> > amount
> >
> > of detail it would carry is a concern here.
> >
> > A few things those are completely different in the two are:
> >
> > 1. Core creation process flow
> > 2. Solr deployment process flow
> > 3. Directory locations in both cases
> >
> > We can start building a confluence page, and then add on to it in
> > progressive manner.
> >
> > Anshul
> >
> > On Wed, 12 Mar 2025, 17:22 Jacques Le Roux,<
> >
> > jacques.le.roux@les7arts.com
> >
> > wrote:
> >
> >
> > Hi,
> >
> > So what do we do?
> >
> > A Jira should be enough if we plan to implement a migration tool. That
> > still needs to be decided and then planned.
> > If we don't implement a migration tool a Confluence page would fit.
> >
> > But
> >
> > would that be enough?
> >
> > Should we vote about that?
> >
> > Jacques
> >
> > Le 11/03/2025 à 07:50, Chandan Khandelwal a écrit :
> >
> > Hello all,
> >
> > I agree with deprecating embedded Solr and providing a migration
> >
> > process
> >
> > for external Solr. This will allow us to move forward with the
> >
> > Jakarta
> >
> > migration.
> >
> >
> > Kind Regards,
> > Chandan Khandelwal
> >
> >
> >
> > On Mon, Mar 10, 2025 at 9:11 PM Anshul Goyal<an...@gmail.com> <
> ansherzz@gmail.com>
> >
> > wrote:
> >
> > Hi all,
> >
> > I too support providing a smooth transition for users of embedded
> >
> > version
> >
> > to the standalone version, keeping in mind that Jakarta migration
> >
> > is
> >
> > important and the lucene may update solr further.
> >
> > This seems like a good way to deal with it.
> >
> > Best regards
> > Anshul Goyal
> >
> > On Mon, 10 Mar 2025, 20:52 Jacopo Cappellato, <
> >
> > jacopo.cappellato@gmail.com
> >
> > wrote:
> >
> >
> > I also support the idea of deprecating the embedded mode of
> >
> > integrating
> >
> > SOLR.
> > To address Michael's concerns of existing users, we could provide
> > tools, mechanisms, or guidelines to help streamline the transition
> > from embedded to external SOLR.
> >
> > Jacopo
> >
> > On Mon, Mar 10, 2025 at 3:47 PM Michael Brohl <
> >
> > michael.brohl@ecomify.de>
> >
> > wrote:
> >
> > Hi Deepak,
> >
> > I know that embedded Solr is used so that does not seem to be a
> >
> > valid
> >
> > solution.
> >
> > Best regards,
> >
> > Michael Brohl
> >
> > ecomify GmbH -www.ecomify.de
> >
> > Am 10.03.25 um 07:51 schrieb Deepak Dixit:
> >
> > We can update the Solr plugin to connect with an external Solr
> >
> > instance
> >
> > instead of running it embedded. I believe no one uses Solr in
> >
> > embedded
> >
> > mode
> >
> > in production,
> > so it's best to treat Solr as an external system.
> > With the Solr plugin update, we can configure it to communicate
> >
> > with
> >
> > an
> >
> > external Solr instance.
> > To make it developer-friendly, we can also provide a Gradle task
> >
> > to
> >
> > download and run Solr in the development environment.
> >
> > --
> > Deepak Dixitofbiz.apache.org
> >
> >
> >
>
Re: Jakarta migration and Solr plugin
Posted by Ayan Farooqui <ay...@hotwax.co>.
Hi Nicolas,
Thanks for your kind words! I really appreciate your offer to push it to
the wiki. But, I’d like to take the initiative to add it myself.
I'll make sure to update the wiki soon and will share the link once it's
live. Please let me know if you have any suggestions or improvements to
include!
Kind regards,
Ayan Farooqui
Product Engineer
*HotWax Commerce*
*Real OmniChannel. Real Results.*
email: ayan.farooqui@hotwax.co
*www.hotwax.co <http://www.hotwax.co/>*
On Fri, Mar 21, 2025 at 3:17 PM Nicolas Malin <ni...@nereide.fr>
wrote:
> Hello Ayan,
>
> Thanks for this sharing, it's really cool.
>
> I thinks it's a good work to push on the wiki. If you didn't plan it I can
> do it ?
>
> Like that we start the plugin and jakarta migration :)
>
> Nicolas
>
> Le 20/03/2025 à 06:11, Ayan Farooqui a écrit :
>
> Hello All,
>
> I took the liberty of doing a POC to ensure a smooth transition from
> embedded Solr to a standalone instance while maintaining data and
> configuration integrity, here’s the process to follow:
>
> Before starting, stop Solr to prevent data corruption and file lock issues.
>
> 1.
>
> Copy Configuration
> -
>
> Navigate to ${ofbiz.home}/plugins/solr/home/{YourCoreName} and copy
> the core configuration.
> -
>
> Paste it into your standalone Solr instance at
> solr8.11.3/server/solr/{YourCoreName}.
> 2.
>
> Copy Data
> -
>
> Locate the <dataDir> tag in solrconfig.xml to find the existing data
> directory.
> -
>
> Defaults to -${ofbiz.home}/runtime/indexes/solr/products/
> -
>
> Copy its contents and paste them into
> solr8.11.3/server/solr/{YourCoreName}/data/.
> 3.
>
> Update Data Directory
> Modify - solr8.11.3/server/solr/{YourCoreName}/conf/solrconfig.xml file to
> set the data directory to Solr’s default or a custom path: Solr Default
> - <dataDir>${solr.data.dir:}</dataDir> Points to -
> solr8.11.3/server/solr/{YourCoreName}/data/. (where we copied the data) If
> you have copied the core data to a custom path then specify that data
> directory
>
>
> Once these steps are complete, start the standalone Solr instance, and your
> data should be intact.
>
> Kind regards,
> Ayan Farooqui
> Product Engineer
> *HotWax Commerce*
> *Real OmniChannel. Real Results.*
> email: ayan.farooqui@hotwax.co
> *www.hotwax.co <http://www.hotwax.co/> <http://www.hotwax.co/>*
>
>
> On Sat, Mar 15, 2025 at 5:28 PM Anshul Goyal <an...@gmail.com> <an...@gmail.com> wrote:
>
>
> Hi Jacques,
>
> One of the projects I am working on uses solr in the embedded mode, and
> I'll soon be migrating it to an external Solr instance.
> I'll document all the important code changes needed, configurations
> involved and challenges faced during the process.
>
> I lack knowledge of migration tools, if they're a better solution, I would
> like to proceed that way as well.
>
> Anshul
>
> On Sat, 15 Mar 2025 at 13:17, Jacques Le Roux <ja...@les7arts.com>
> wrote:
>
>
> Hi Anshul,
>
> I see no problem creating a Confluence page to start. Of course
> implementing a migration tool would be better.
>
> Have someone ever done a Solr migration from the plugin to an external
> Solr instance?
>
> Jacques
>
> Le 12/03/2025 à 13:39, Anshul Goyal a écrit :
>
> Hi Jacques,
>
> A confluence page can serve greatly to users needing migration. The
>
> amount
>
> of detail it would carry is a concern here.
>
> A few things those are completely different in the two are:
>
> 1. Core creation process flow
> 2. Solr deployment process flow
> 3. Directory locations in both cases
>
> We can start building a confluence page, and then add on to it in
> progressive manner.
>
> Anshul
>
> On Wed, 12 Mar 2025, 17:22 Jacques Le Roux,<
>
> jacques.le.roux@les7arts.com
>
> wrote:
>
>
> Hi,
>
> So what do we do?
>
> A Jira should be enough if we plan to implement a migration tool. That
> still needs to be decided and then planned.
> If we don't implement a migration tool a Confluence page would fit.
>
> But
>
> would that be enough?
>
> Should we vote about that?
>
> Jacques
>
> Le 11/03/2025 à 07:50, Chandan Khandelwal a écrit :
>
> Hello all,
>
> I agree with deprecating embedded Solr and providing a migration
>
> process
>
> for external Solr. This will allow us to move forward with the
>
> Jakarta
>
> migration.
>
>
> Kind Regards,
> Chandan Khandelwal
>
>
>
> On Mon, Mar 10, 2025 at 9:11 PM Anshul Goyal<an...@gmail.com> <an...@gmail.com>
>
> wrote:
>
> Hi all,
>
> I too support providing a smooth transition for users of embedded
>
> version
>
> to the standalone version, keeping in mind that Jakarta migration
>
> is
>
> important and the lucene may update solr further.
>
> This seems like a good way to deal with it.
>
> Best regards
> Anshul Goyal
>
> On Mon, 10 Mar 2025, 20:52 Jacopo Cappellato, <
>
> jacopo.cappellato@gmail.com
>
> wrote:
>
>
> I also support the idea of deprecating the embedded mode of
>
> integrating
>
> SOLR.
> To address Michael's concerns of existing users, we could provide
> tools, mechanisms, or guidelines to help streamline the transition
> from embedded to external SOLR.
>
> Jacopo
>
> On Mon, Mar 10, 2025 at 3:47 PM Michael Brohl <
>
> michael.brohl@ecomify.de>
>
> wrote:
>
> Hi Deepak,
>
> I know that embedded Solr is used so that does not seem to be a
>
> valid
>
> solution.
>
> Best regards,
>
> Michael Brohl
>
> ecomify GmbH -www.ecomify.de
>
> Am 10.03.25 um 07:51 schrieb Deepak Dixit:
>
> We can update the Solr plugin to connect with an external Solr
>
> instance
>
> instead of running it embedded. I believe no one uses Solr in
>
> embedded
>
> mode
>
> in production,
> so it's best to treat Solr as an external system.
> With the Solr plugin update, we can configure it to communicate
>
> with
>
> an
>
> external Solr instance.
> To make it developer-friendly, we can also provide a Gradle task
>
> to
>
> download and run Solr in the development environment.
>
> --
> Deepak Dixitofbiz.apache.org
>
>
>
Re: Jakarta migration and Solr plugin
Posted by Nicolas Malin <ni...@nereide.fr>.
Hello Ayan,
Thanks for this sharing, it's really cool.
I thinks it's a good work to push on the wiki. If you didn't plan it I
can do it ?
Like that we start the plugin and jakarta migration :)
Nicolas
Le 20/03/2025 à 06:11, Ayan Farooqui a écrit :
> Hello All,
>
> I took the liberty of doing a POC to ensure a smooth transition from
> embedded Solr to a standalone instance while maintaining data and
> configuration integrity, here’s the process to follow:
>
> Before starting, stop Solr to prevent data corruption and file lock issues.
>
> 1.
>
> Copy Configuration
> -
>
> Navigate to ${ofbiz.home}/plugins/solr/home/{YourCoreName} and copy
> the core configuration.
> -
>
> Paste it into your standalone Solr instance at
> solr8.11.3/server/solr/{YourCoreName}.
> 2.
>
> Copy Data
> -
>
> Locate the <dataDir> tag in solrconfig.xml to find the existing data
> directory.
> -
>
> Defaults to -${ofbiz.home}/runtime/indexes/solr/products/
> -
>
> Copy its contents and paste them into
> solr8.11.3/server/solr/{YourCoreName}/data/.
> 3.
>
> Update Data Directory
> Modify - solr8.11.3/server/solr/{YourCoreName}/conf/solrconfig.xml file to
> set the data directory to Solr’s default or a custom path: Solr Default
> - <dataDir>${solr.data.dir:}</dataDir> Points to -
> solr8.11.3/server/solr/{YourCoreName}/data/. (where we copied the data) If
> you have copied the core data to a custom path then specify that data
> directory
>
>
> Once these steps are complete, start the standalone Solr instance, and your
> data should be intact.
>
> Kind regards,
> Ayan Farooqui
> Product Engineer
> *HotWax Commerce*
> *Real OmniChannel. Real Results.*
> email:ayan.farooqui@hotwax.co
> *www.hotwax.co<http://www.hotwax.co/>*
>
>
> On Sat, Mar 15, 2025 at 5:28 PM Anshul Goyal<an...@gmail.com> wrote:
>
>> Hi Jacques,
>>
>> One of the projects I am working on uses solr in the embedded mode, and
>> I'll soon be migrating it to an external Solr instance.
>> I'll document all the important code changes needed, configurations
>> involved and challenges faced during the process.
>>
>> I lack knowledge of migration tools, if they're a better solution, I would
>> like to proceed that way as well.
>>
>> Anshul
>>
>> On Sat, 15 Mar 2025 at 13:17, Jacques Le Roux <
>> jacques.le.roux@les7arts.com>
>> wrote:
>>
>>> Hi Anshul,
>>>
>>> I see no problem creating a Confluence page to start. Of course
>>> implementing a migration tool would be better.
>>>
>>> Have someone ever done a Solr migration from the plugin to an external
>>> Solr instance?
>>>
>>> Jacques
>>>
>>> Le 12/03/2025 à 13:39, Anshul Goyal a écrit :
>>>> Hi Jacques,
>>>>
>>>> A confluence page can serve greatly to users needing migration. The
>>> amount
>>>> of detail it would carry is a concern here.
>>>>
>>>> A few things those are completely different in the two are:
>>>>
>>>> 1. Core creation process flow
>>>> 2. Solr deployment process flow
>>>> 3. Directory locations in both cases
>>>>
>>>> We can start building a confluence page, and then add on to it in
>>>> progressive manner.
>>>>
>>>> Anshul
>>>>
>>>> On Wed, 12 Mar 2025, 17:22 Jacques Le Roux,<
>> jacques.le.roux@les7arts.com
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> So what do we do?
>>>>>
>>>>> A Jira should be enough if we plan to implement a migration tool. That
>>>>> still needs to be decided and then planned.
>>>>> If we don't implement a migration tool a Confluence page would fit.
>> But
>>>>> would that be enough?
>>>>>
>>>>> Should we vote about that?
>>>>>
>>>>> Jacques
>>>>>
>>>>> Le 11/03/2025 à 07:50, Chandan Khandelwal a écrit :
>>>>>> Hello all,
>>>>>>
>>>>>> I agree with deprecating embedded Solr and providing a migration
>>> process
>>>>>> for external Solr. This will allow us to move forward with the
>> Jakarta
>>>>>> migration.
>>>>>>
>>>>>>
>>>>>> Kind Regards,
>>>>>> Chandan Khandelwal
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Mar 10, 2025 at 9:11 PM Anshul Goyal<an...@gmail.com>
>>> wrote:
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I too support providing a smooth transition for users of embedded
>>>>> version
>>>>>>> to the standalone version, keeping in mind that Jakarta migration
>> is
>>>>>>> important and the lucene may update solr further.
>>>>>>>
>>>>>>> This seems like a good way to deal with it.
>>>>>>>
>>>>>>> Best regards
>>>>>>> Anshul Goyal
>>>>>>>
>>>>>>> On Mon, 10 Mar 2025, 20:52 Jacopo Cappellato, <
>>>>> jacopo.cappellato@gmail.com
>>>>>>> wrote:
>>>>>>>
>>>>>>>> I also support the idea of deprecating the embedded mode of
>>> integrating
>>>>>>>> SOLR.
>>>>>>>> To address Michael's concerns of existing users, we could provide
>>>>>>>> tools, mechanisms, or guidelines to help streamline the transition
>>>>>>>> from embedded to external SOLR.
>>>>>>>>
>>>>>>>> Jacopo
>>>>>>>>
>>>>>>>> On Mon, Mar 10, 2025 at 3:47 PM Michael Brohl <
>>>>> michael.brohl@ecomify.de>
>>>>>>>> wrote:
>>>>>>>>> Hi Deepak,
>>>>>>>>>
>>>>>>>>> I know that embedded Solr is used so that does not seem to be a
>>> valid
>>>>>>>>> solution.
>>>>>>>>>
>>>>>>>>> Best regards,
>>>>>>>>>
>>>>>>>>> Michael Brohl
>>>>>>>>>
>>>>>>>>> ecomify GmbH -www.ecomify.de
>>>>>>>>>
>>>>>>>>> Am 10.03.25 um 07:51 schrieb Deepak Dixit:
>>>>>>>>>> We can update the Solr plugin to connect with an external Solr
>>>>>>> instance
>>>>>>>>>> instead of running it embedded. I believe no one uses Solr in
>>>>>>> embedded
>>>>>>>> mode
>>>>>>>>>> in production,
>>>>>>>>>> so it's best to treat Solr as an external system.
>>>>>>>>>> With the Solr plugin update, we can configure it to communicate
>>> with
>>>>>>> an
>>>>>>>>>> external Solr instance.
>>>>>>>>>> To make it developer-friendly, we can also provide a Gradle task
>> to
>>>>>>>>>> download and run Solr in the development environment.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Deepak Dixit
>>>>>>>>>> ofbiz.apache.org
>>>>>>>>>>
Re: Jakarta migration and Solr plugin
Posted by Ayan Farooqui <ay...@hotwax.co>.
Hello All,
I took the liberty of doing a POC to ensure a smooth transition from
embedded Solr to a standalone instance while maintaining data and
configuration integrity, here’s the process to follow:
Before starting, stop Solr to prevent data corruption and file lock issues.
1.
Copy Configuration
-
Navigate to ${ofbiz.home}/plugins/solr/home/{YourCoreName} and copy
the core configuration.
-
Paste it into your standalone Solr instance at
solr8.11.3/server/solr/{YourCoreName}.
2.
Copy Data
-
Locate the <dataDir> tag in solrconfig.xml to find the existing data
directory.
-
Defaults to -${ofbiz.home}/runtime/indexes/solr/products/
-
Copy its contents and paste them into
solr8.11.3/server/solr/{YourCoreName}/data/.
3.
Update Data Directory
Modify - solr8.11.3/server/solr/{YourCoreName}/conf/solrconfig.xml file to
set the data directory to Solr’s default or a custom path: Solr Default
- <dataDir>${solr.data.dir:}</dataDir> Points to -
solr8.11.3/server/solr/{YourCoreName}/data/. (where we copied the data) If
you have copied the core data to a custom path then specify that data
directory
Once these steps are complete, start the standalone Solr instance, and your
data should be intact.
Kind regards,
Ayan Farooqui
Product Engineer
*HotWax Commerce*
*Real OmniChannel. Real Results.*
email: ayan.farooqui@hotwax.co
*www.hotwax.co <http://www.hotwax.co/>*
On Sat, Mar 15, 2025 at 5:28 PM Anshul Goyal <an...@gmail.com> wrote:
> Hi Jacques,
>
> One of the projects I am working on uses solr in the embedded mode, and
> I'll soon be migrating it to an external Solr instance.
> I'll document all the important code changes needed, configurations
> involved and challenges faced during the process.
>
> I lack knowledge of migration tools, if they're a better solution, I would
> like to proceed that way as well.
>
> Anshul
>
> On Sat, 15 Mar 2025 at 13:17, Jacques Le Roux <
> jacques.le.roux@les7arts.com>
> wrote:
>
> > Hi Anshul,
> >
> > I see no problem creating a Confluence page to start. Of course
> > implementing a migration tool would be better.
> >
> > Have someone ever done a Solr migration from the plugin to an external
> > Solr instance?
> >
> > Jacques
> >
> > Le 12/03/2025 à 13:39, Anshul Goyal a écrit :
> > > Hi Jacques,
> > >
> > > A confluence page can serve greatly to users needing migration. The
> > amount
> > > of detail it would carry is a concern here.
> > >
> > > A few things those are completely different in the two are:
> > >
> > > 1. Core creation process flow
> > > 2. Solr deployment process flow
> > > 3. Directory locations in both cases
> > >
> > > We can start building a confluence page, and then add on to it in
> > > progressive manner.
> > >
> > > Anshul
> > >
> > > On Wed, 12 Mar 2025, 17:22 Jacques Le Roux,<
> jacques.le.roux@les7arts.com
> > >
> > > wrote:
> > >
> > >> Hi,
> > >>
> > >> So what do we do?
> > >>
> > >> A Jira should be enough if we plan to implement a migration tool. That
> > >> still needs to be decided and then planned.
> > >> If we don't implement a migration tool a Confluence page would fit.
> But
> > >> would that be enough?
> > >>
> > >> Should we vote about that?
> > >>
> > >> Jacques
> > >>
> > >> Le 11/03/2025 à 07:50, Chandan Khandelwal a écrit :
> > >>> Hello all,
> > >>>
> > >>> I agree with deprecating embedded Solr and providing a migration
> > process
> > >>> for external Solr. This will allow us to move forward with the
> Jakarta
> > >>> migration.
> > >>>
> > >>>
> > >>> Kind Regards,
> > >>> Chandan Khandelwal
> > >>>
> > >>>
> > >>>
> > >>> On Mon, Mar 10, 2025 at 9:11 PM Anshul Goyal<an...@gmail.com>
> > wrote:
> > >>>
> > >>>> Hi all,
> > >>>>
> > >>>> I too support providing a smooth transition for users of embedded
> > >> version
> > >>>> to the standalone version, keeping in mind that Jakarta migration
> is
> > >>>> important and the lucene may update solr further.
> > >>>>
> > >>>> This seems like a good way to deal with it.
> > >>>>
> > >>>> Best regards
> > >>>> Anshul Goyal
> > >>>>
> > >>>> On Mon, 10 Mar 2025, 20:52 Jacopo Cappellato, <
> > >> jacopo.cappellato@gmail.com
> > >>>> wrote:
> > >>>>
> > >>>>> I also support the idea of deprecating the embedded mode of
> > integrating
> > >>>>> SOLR.
> > >>>>> To address Michael's concerns of existing users, we could provide
> > >>>>> tools, mechanisms, or guidelines to help streamline the transition
> > >>>>> from embedded to external SOLR.
> > >>>>>
> > >>>>> Jacopo
> > >>>>>
> > >>>>> On Mon, Mar 10, 2025 at 3:47 PM Michael Brohl <
> > >> michael.brohl@ecomify.de>
> > >>>>> wrote:
> > >>>>>> Hi Deepak,
> > >>>>>>
> > >>>>>> I know that embedded Solr is used so that does not seem to be a
> > valid
> > >>>>>> solution.
> > >>>>>>
> > >>>>>> Best regards,
> > >>>>>>
> > >>>>>> Michael Brohl
> > >>>>>>
> > >>>>>> ecomify GmbH -www.ecomify.de
> > >>>>>>
> > >>>>>> Am 10.03.25 um 07:51 schrieb Deepak Dixit:
> > >>>>>>> We can update the Solr plugin to connect with an external Solr
> > >>>> instance
> > >>>>>>> instead of running it embedded. I believe no one uses Solr in
> > >>>> embedded
> > >>>>> mode
> > >>>>>>> in production,
> > >>>>>>> so it's best to treat Solr as an external system.
> > >>>>>>> With the Solr plugin update, we can configure it to communicate
> > with
> > >>>> an
> > >>>>>>> external Solr instance.
> > >>>>>>> To make it developer-friendly, we can also provide a Gradle task
> to
> > >>>>>>> download and run Solr in the development environment.
> > >>>>>>>
> > >>>>>>> --
> > >>>>>>> Deepak Dixit
> > >>>>>>> ofbiz.apache.org
> > >>>>>>>
> >
>
Re: Jakarta migration and Solr plugin
Posted by Anshul Goyal <an...@gmail.com>.
Hi Jacques,
One of the projects I am working on uses solr in the embedded mode, and
I'll soon be migrating it to an external Solr instance.
I'll document all the important code changes needed, configurations
involved and challenges faced during the process.
I lack knowledge of migration tools, if they're a better solution, I would
like to proceed that way as well.
Anshul
On Sat, 15 Mar 2025 at 13:17, Jacques Le Roux <ja...@les7arts.com>
wrote:
> Hi Anshul,
>
> I see no problem creating a Confluence page to start. Of course
> implementing a migration tool would be better.
>
> Have someone ever done a Solr migration from the plugin to an external
> Solr instance?
>
> Jacques
>
> Le 12/03/2025 à 13:39, Anshul Goyal a écrit :
> > Hi Jacques,
> >
> > A confluence page can serve greatly to users needing migration. The
> amount
> > of detail it would carry is a concern here.
> >
> > A few things those are completely different in the two are:
> >
> > 1. Core creation process flow
> > 2. Solr deployment process flow
> > 3. Directory locations in both cases
> >
> > We can start building a confluence page, and then add on to it in
> > progressive manner.
> >
> > Anshul
> >
> > On Wed, 12 Mar 2025, 17:22 Jacques Le Roux,<jacques.le.roux@les7arts.com
> >
> > wrote:
> >
> >> Hi,
> >>
> >> So what do we do?
> >>
> >> A Jira should be enough if we plan to implement a migration tool. That
> >> still needs to be decided and then planned.
> >> If we don't implement a migration tool a Confluence page would fit. But
> >> would that be enough?
> >>
> >> Should we vote about that?
> >>
> >> Jacques
> >>
> >> Le 11/03/2025 à 07:50, Chandan Khandelwal a écrit :
> >>> Hello all,
> >>>
> >>> I agree with deprecating embedded Solr and providing a migration
> process
> >>> for external Solr. This will allow us to move forward with the Jakarta
> >>> migration.
> >>>
> >>>
> >>> Kind Regards,
> >>> Chandan Khandelwal
> >>>
> >>>
> >>>
> >>> On Mon, Mar 10, 2025 at 9:11 PM Anshul Goyal<an...@gmail.com>
> wrote:
> >>>
> >>>> Hi all,
> >>>>
> >>>> I too support providing a smooth transition for users of embedded
> >> version
> >>>> to the standalone version, keeping in mind that Jakarta migration is
> >>>> important and the lucene may update solr further.
> >>>>
> >>>> This seems like a good way to deal with it.
> >>>>
> >>>> Best regards
> >>>> Anshul Goyal
> >>>>
> >>>> On Mon, 10 Mar 2025, 20:52 Jacopo Cappellato, <
> >> jacopo.cappellato@gmail.com
> >>>> wrote:
> >>>>
> >>>>> I also support the idea of deprecating the embedded mode of
> integrating
> >>>>> SOLR.
> >>>>> To address Michael's concerns of existing users, we could provide
> >>>>> tools, mechanisms, or guidelines to help streamline the transition
> >>>>> from embedded to external SOLR.
> >>>>>
> >>>>> Jacopo
> >>>>>
> >>>>> On Mon, Mar 10, 2025 at 3:47 PM Michael Brohl <
> >> michael.brohl@ecomify.de>
> >>>>> wrote:
> >>>>>> Hi Deepak,
> >>>>>>
> >>>>>> I know that embedded Solr is used so that does not seem to be a
> valid
> >>>>>> solution.
> >>>>>>
> >>>>>> Best regards,
> >>>>>>
> >>>>>> Michael Brohl
> >>>>>>
> >>>>>> ecomify GmbH -www.ecomify.de
> >>>>>>
> >>>>>> Am 10.03.25 um 07:51 schrieb Deepak Dixit:
> >>>>>>> We can update the Solr plugin to connect with an external Solr
> >>>> instance
> >>>>>>> instead of running it embedded. I believe no one uses Solr in
> >>>> embedded
> >>>>> mode
> >>>>>>> in production,
> >>>>>>> so it's best to treat Solr as an external system.
> >>>>>>> With the Solr plugin update, we can configure it to communicate
> with
> >>>> an
> >>>>>>> external Solr instance.
> >>>>>>> To make it developer-friendly, we can also provide a Gradle task to
> >>>>>>> download and run Solr in the development environment.
> >>>>>>>
> >>>>>>> --
> >>>>>>> Deepak Dixit
> >>>>>>> ofbiz.apache.org
> >>>>>>>
>
Re: Jakarta migration and Solr plugin
Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Anshul,
I see no problem creating a Confluence page to start. Of course implementing a migration tool would be better.
Have someone ever done a Solr migration from the plugin to an external Solr instance?
Jacques
Le 12/03/2025 à 13:39, Anshul Goyal a écrit :
> Hi Jacques,
>
> A confluence page can serve greatly to users needing migration. The amount
> of detail it would carry is a concern here.
>
> A few things those are completely different in the two are:
>
> 1. Core creation process flow
> 2. Solr deployment process flow
> 3. Directory locations in both cases
>
> We can start building a confluence page, and then add on to it in
> progressive manner.
>
> Anshul
>
> On Wed, 12 Mar 2025, 17:22 Jacques Le Roux,<ja...@les7arts.com>
> wrote:
>
>> Hi,
>>
>> So what do we do?
>>
>> A Jira should be enough if we plan to implement a migration tool. That
>> still needs to be decided and then planned.
>> If we don't implement a migration tool a Confluence page would fit. But
>> would that be enough?
>>
>> Should we vote about that?
>>
>> Jacques
>>
>> Le 11/03/2025 à 07:50, Chandan Khandelwal a écrit :
>>> Hello all,
>>>
>>> I agree with deprecating embedded Solr and providing a migration process
>>> for external Solr. This will allow us to move forward with the Jakarta
>>> migration.
>>>
>>>
>>> Kind Regards,
>>> Chandan Khandelwal
>>>
>>>
>>>
>>> On Mon, Mar 10, 2025 at 9:11 PM Anshul Goyal<an...@gmail.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I too support providing a smooth transition for users of embedded
>> version
>>>> to the standalone version, keeping in mind that Jakarta migration is
>>>> important and the lucene may update solr further.
>>>>
>>>> This seems like a good way to deal with it.
>>>>
>>>> Best regards
>>>> Anshul Goyal
>>>>
>>>> On Mon, 10 Mar 2025, 20:52 Jacopo Cappellato, <
>> jacopo.cappellato@gmail.com
>>>> wrote:
>>>>
>>>>> I also support the idea of deprecating the embedded mode of integrating
>>>>> SOLR.
>>>>> To address Michael's concerns of existing users, we could provide
>>>>> tools, mechanisms, or guidelines to help streamline the transition
>>>>> from embedded to external SOLR.
>>>>>
>>>>> Jacopo
>>>>>
>>>>> On Mon, Mar 10, 2025 at 3:47 PM Michael Brohl <
>> michael.brohl@ecomify.de>
>>>>> wrote:
>>>>>> Hi Deepak,
>>>>>>
>>>>>> I know that embedded Solr is used so that does not seem to be a valid
>>>>>> solution.
>>>>>>
>>>>>> Best regards,
>>>>>>
>>>>>> Michael Brohl
>>>>>>
>>>>>> ecomify GmbH -www.ecomify.de
>>>>>>
>>>>>> Am 10.03.25 um 07:51 schrieb Deepak Dixit:
>>>>>>> We can update the Solr plugin to connect with an external Solr
>>>> instance
>>>>>>> instead of running it embedded. I believe no one uses Solr in
>>>> embedded
>>>>> mode
>>>>>>> in production,
>>>>>>> so it's best to treat Solr as an external system.
>>>>>>> With the Solr plugin update, we can configure it to communicate with
>>>> an
>>>>>>> external Solr instance.
>>>>>>> To make it developer-friendly, we can also provide a Gradle task to
>>>>>>> download and run Solr in the development environment.
>>>>>>>
>>>>>>> --
>>>>>>> Deepak Dixit
>>>>>>> ofbiz.apache.org
>>>>>>>
Re: Jakarta migration and Solr plugin
Posted by Anshul Goyal <an...@gmail.com>.
Hi Jacques,
A confluence page can serve greatly to users needing migration. The amount
of detail it would carry is a concern here.
A few things those are completely different in the two are:
1. Core creation process flow
2. Solr deployment process flow
3. Directory locations in both cases
We can start building a confluence page, and then add on to it in
progressive manner.
Anshul
On Wed, 12 Mar 2025, 17:22 Jacques Le Roux, <ja...@les7arts.com>
wrote:
> Hi,
>
> So what do we do?
>
> A Jira should be enough if we plan to implement a migration tool. That
> still needs to be decided and then planned.
> If we don't implement a migration tool a Confluence page would fit. But
> would that be enough?
>
> Should we vote about that?
>
> Jacques
>
> Le 11/03/2025 à 07:50, Chandan Khandelwal a écrit :
> > Hello all,
> >
> > I agree with deprecating embedded Solr and providing a migration process
> > for external Solr. This will allow us to move forward with the Jakarta
> > migration.
> >
> >
> > Kind Regards,
> > Chandan Khandelwal
> >
> >
> >
> > On Mon, Mar 10, 2025 at 9:11 PM Anshul Goyal <an...@gmail.com> wrote:
> >
> >> Hi all,
> >>
> >> I too support providing a smooth transition for users of embedded
> version
> >> to the standalone version, keeping in mind that Jakarta migration is
> >> important and the lucene may update solr further.
> >>
> >> This seems like a good way to deal with it.
> >>
> >> Best regards
> >> Anshul Goyal
> >>
> >> On Mon, 10 Mar 2025, 20:52 Jacopo Cappellato, <
> jacopo.cappellato@gmail.com
> >> wrote:
> >>
> >>> I also support the idea of deprecating the embedded mode of integrating
> >>> SOLR.
> >>> To address Michael's concerns of existing users, we could provide
> >>> tools, mechanisms, or guidelines to help streamline the transition
> >>> from embedded to external SOLR.
> >>>
> >>> Jacopo
> >>>
> >>> On Mon, Mar 10, 2025 at 3:47 PM Michael Brohl <
> michael.brohl@ecomify.de>
> >>> wrote:
> >>>> Hi Deepak,
> >>>>
> >>>> I know that embedded Solr is used so that does not seem to be a valid
> >>>> solution.
> >>>>
> >>>> Best regards,
> >>>>
> >>>> Michael Brohl
> >>>>
> >>>> ecomify GmbH - www.ecomify.de
> >>>>
> >>>> Am 10.03.25 um 07:51 schrieb Deepak Dixit:
> >>>>> We can update the Solr plugin to connect with an external Solr
> >> instance
> >>>>> instead of running it embedded. I believe no one uses Solr in
> >> embedded
> >>> mode
> >>>>> in production,
> >>>>> so it's best to treat Solr as an external system.
> >>>>> With the Solr plugin update, we can configure it to communicate with
> >> an
> >>>>> external Solr instance.
> >>>>> To make it developer-friendly, we can also provide a Gradle task to
> >>>>> download and run Solr in the development environment.
> >>>>>
> >>>>> --
> >>>>> Deepak Dixit
> >>>>> ofbiz.apache.org
> >>>>>
>
Re: Jakarta migration and Solr plugin
Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi,
So what do we do?
A Jira should be enough if we plan to implement a migration tool. That still needs to be decided and then planned.
If we don't implement a migration tool a Confluence page would fit. But would that be enough?
Should we vote about that?
Jacques
Le 11/03/2025 à 07:50, Chandan Khandelwal a écrit :
> Hello all,
>
> I agree with deprecating embedded Solr and providing a migration process
> for external Solr. This will allow us to move forward with the Jakarta
> migration.
>
>
> Kind Regards,
> Chandan Khandelwal
>
>
>
> On Mon, Mar 10, 2025 at 9:11 PM Anshul Goyal <an...@gmail.com> wrote:
>
>> Hi all,
>>
>> I too support providing a smooth transition for users of embedded version
>> to the standalone version, keeping in mind that Jakarta migration is
>> important and the lucene may update solr further.
>>
>> This seems like a good way to deal with it.
>>
>> Best regards
>> Anshul Goyal
>>
>> On Mon, 10 Mar 2025, 20:52 Jacopo Cappellato, <jacopo.cappellato@gmail.com
>> wrote:
>>
>>> I also support the idea of deprecating the embedded mode of integrating
>>> SOLR.
>>> To address Michael's concerns of existing users, we could provide
>>> tools, mechanisms, or guidelines to help streamline the transition
>>> from embedded to external SOLR.
>>>
>>> Jacopo
>>>
>>> On Mon, Mar 10, 2025 at 3:47 PM Michael Brohl <mi...@ecomify.de>
>>> wrote:
>>>> Hi Deepak,
>>>>
>>>> I know that embedded Solr is used so that does not seem to be a valid
>>>> solution.
>>>>
>>>> Best regards,
>>>>
>>>> Michael Brohl
>>>>
>>>> ecomify GmbH - www.ecomify.de
>>>>
>>>> Am 10.03.25 um 07:51 schrieb Deepak Dixit:
>>>>> We can update the Solr plugin to connect with an external Solr
>> instance
>>>>> instead of running it embedded. I believe no one uses Solr in
>> embedded
>>> mode
>>>>> in production,
>>>>> so it's best to treat Solr as an external system.
>>>>> With the Solr plugin update, we can configure it to communicate with
>> an
>>>>> external Solr instance.
>>>>> To make it developer-friendly, we can also provide a Gradle task to
>>>>> download and run Solr in the development environment.
>>>>>
>>>>> --
>>>>> Deepak Dixit
>>>>> ofbiz.apache.org
>>>>>
Re: Jakarta migration and Solr plugin
Posted by Chandan Khandelwal <ch...@hotwaxsystems.com>.
Hello all,
I agree with deprecating embedded Solr and providing a migration process
for external Solr. This will allow us to move forward with the Jakarta
migration.
Kind Regards,
Chandan Khandelwal
On Mon, Mar 10, 2025 at 9:11 PM Anshul Goyal <an...@gmail.com> wrote:
> Hi all,
>
> I too support providing a smooth transition for users of embedded version
> to the standalone version, keeping in mind that Jakarta migration is
> important and the lucene may update solr further.
>
> This seems like a good way to deal with it.
>
> Best regards
> Anshul Goyal
>
> On Mon, 10 Mar 2025, 20:52 Jacopo Cappellato, <jacopo.cappellato@gmail.com
> >
> wrote:
>
> > I also support the idea of deprecating the embedded mode of integrating
> > SOLR.
> > To address Michael's concerns of existing users, we could provide
> > tools, mechanisms, or guidelines to help streamline the transition
> > from embedded to external SOLR.
> >
> > Jacopo
> >
> > On Mon, Mar 10, 2025 at 3:47 PM Michael Brohl <mi...@ecomify.de>
> > wrote:
> > >
> > > Hi Deepak,
> > >
> > > I know that embedded Solr is used so that does not seem to be a valid
> > > solution.
> > >
> > > Best regards,
> > >
> > > Michael Brohl
> > >
> > > ecomify GmbH - www.ecomify.de
> > >
> > > Am 10.03.25 um 07:51 schrieb Deepak Dixit:
> > > > We can update the Solr plugin to connect with an external Solr
> instance
> > > > instead of running it embedded. I believe no one uses Solr in
> embedded
> > mode
> > > > in production,
> > > > so it's best to treat Solr as an external system.
> > > > With the Solr plugin update, we can configure it to communicate with
> an
> > > > external Solr instance.
> > > > To make it developer-friendly, we can also provide a Gradle task to
> > > > download and run Solr in the development environment.
> > > >
> > > > --
> > > > Deepak Dixit
> > > > ofbiz.apache.org
> > > >
> >
>
Re: Jakarta migration and Solr plugin
Posted by Anshul Goyal <an...@gmail.com>.
Hi all,
I too support providing a smooth transition for users of embedded version
to the standalone version, keeping in mind that Jakarta migration is
important and the lucene may update solr further.
This seems like a good way to deal with it.
Best regards
Anshul Goyal
On Mon, 10 Mar 2025, 20:52 Jacopo Cappellato, <ja...@gmail.com>
wrote:
> I also support the idea of deprecating the embedded mode of integrating
> SOLR.
> To address Michael's concerns of existing users, we could provide
> tools, mechanisms, or guidelines to help streamline the transition
> from embedded to external SOLR.
>
> Jacopo
>
> On Mon, Mar 10, 2025 at 3:47 PM Michael Brohl <mi...@ecomify.de>
> wrote:
> >
> > Hi Deepak,
> >
> > I know that embedded Solr is used so that does not seem to be a valid
> > solution.
> >
> > Best regards,
> >
> > Michael Brohl
> >
> > ecomify GmbH - www.ecomify.de
> >
> > Am 10.03.25 um 07:51 schrieb Deepak Dixit:
> > > We can update the Solr plugin to connect with an external Solr instance
> > > instead of running it embedded. I believe no one uses Solr in embedded
> mode
> > > in production,
> > > so it's best to treat Solr as an external system.
> > > With the Solr plugin update, we can configure it to communicate with an
> > > external Solr instance.
> > > To make it developer-friendly, we can also provide a Gradle task to
> > > download and run Solr in the development environment.
> > >
> > > --
> > > Deepak Dixit
> > > ofbiz.apache.org
> > >
>
Re: Jakarta migration and Solr plugin
Posted by Jacopo Cappellato <ja...@gmail.com>.
I also support the idea of deprecating the embedded mode of integrating SOLR.
To address Michael's concerns of existing users, we could provide
tools, mechanisms, or guidelines to help streamline the transition
from embedded to external SOLR.
Jacopo
On Mon, Mar 10, 2025 at 3:47 PM Michael Brohl <mi...@ecomify.de> wrote:
>
> Hi Deepak,
>
> I know that embedded Solr is used so that does not seem to be a valid
> solution.
>
> Best regards,
>
> Michael Brohl
>
> ecomify GmbH - www.ecomify.de
>
> Am 10.03.25 um 07:51 schrieb Deepak Dixit:
> > We can update the Solr plugin to connect with an external Solr instance
> > instead of running it embedded. I believe no one uses Solr in embedded mode
> > in production,
> > so it's best to treat Solr as an external system.
> > With the Solr plugin update, we can configure it to communicate with an
> > external Solr instance.
> > To make it developer-friendly, we can also provide a Gradle task to
> > download and run Solr in the development environment.
> >
> > --
> > Deepak Dixit
> > ofbiz.apache.org
> >
Re: Jakarta migration and Solr plugin
Posted by Michael Brohl <mi...@ecomify.de>.
Hi Deepak,
I know that embedded Solr is used so that does not seem to be a valid
solution.
Best regards,
Michael Brohl
ecomify GmbH - www.ecomify.de
Am 10.03.25 um 07:51 schrieb Deepak Dixit:
> We can update the Solr plugin to connect with an external Solr instance
> instead of running it embedded. I believe no one uses Solr in embedded mode
> in production,
> so it's best to treat Solr as an external system.
> With the Solr plugin update, we can configure it to communicate with an
> external Solr instance.
> To make it developer-friendly, we can also provide a Gradle task to
> download and run Solr in the development environment.
>
> --
> Deepak Dixit
> ofbiz.apache.org
>
>
> On Mon, Feb 3, 2025 at 2:09 PM gaetan.chaboussie <
> gaetan.chaboussie@nereide.fr> wrote:
>
>> Hi all. Thanks for the answer. I'll wait for the Solr update to continue
>> the migration work.
>>
>> Gaetan
>>
>> On 1/30/25 10:02, Jacques Le Roux wrote:
>>> Hi,
>>>
>>> We are speaking about the trunk, only. So nobody should using it in
>>> production. But we know it's not the case.
>>>
>>> So I agree, we can wait.
>>>
>>> Again, thank you for the good work Gaetan. I hope we will able to
>>> complete in coming months, sounds possible after your research :)
>>>
>>> Jacques
>>>
>>> Le 30/01/2025 à 03:22, Anshul Goyal a écrit :
>>>> Hi Gaetan,
>>>>
>>>> I agree with Michael that we should wait until the solr migration comes
>>>> out, as removing it may cause issues to existing users using solr along
>>>> with OFBiz.
>>>>
>>>> Best Regards
>>>> Anshul Goyal
>>>>
>>>> On Thu, 30 Jan 2025, 03:55 Michael Brohl, <mi...@ecomify.de>
>>>> wrote:
>>>>
>>>>> Hi Gaetan,
>>>>>
>>>>> thanks for your continuing work on this migration task.
>>>>>
>>>>> Since there is no urgent need to finish the migration in short time, we
>>>>> should wait until we can do it without regressions or cutting existing
>>>>> functionality.
>>>>>
>>>>> So I vote for option 3 to wait until Solr is ready for this change.
>>>>>
>>>>> Thanks and regards,
>>>>>
>>>>> Michael Brohl
>>>>>
>>>>> ecomify GmbH - www.ecomify.de
>>>>>
>>>>>
>>>>> Am 29.01.25 um 17:24 schrieb gaetan.chaboussie:
>>>>>> Hello community,
>>>>>> In the process of from migrating javax to jakarta in framework, then
>>>>>> in plugins , I came across a compilation issue.
>>>>>> Links to MR : [1] [2]
>>>>>> This issue comes from the solr plugin. After some research, it seems
>>>>>> that the plugin doesn't handle jakarta yet and still uses javax [3]
>>>>>> Lucene is up to date at this point and already at version 10.1 while
>>>>>> Solr is in the process of releasing the 10.0 [4]
>>>>>> If in understand correctly, both libraries should be sync in their
>>>>>> version number.
>>>>>> Jacques already tried to upgrade Solr in the past, and despite all
>>>>>> efforts, it seems it didn't work [5]
>>>>>>
>>>>>> I see several options :
>>>>>> - Temporarily disabling the Solr plugin, but carry on with the
>>>>>> migration and migrate Solr plugin once the 10.0 version is out
>>>>>> - Move the Solr plugin to the Attic, and update it when the need comes
>>>>>> - Wait until the Solr migration is out to continue the migration work
>>>>>>
>>>>>> FWIW, with both framework and plugins on branch OFBIZ-12989, and the
>>>>>> Solr plugin removed, OFBiz compiles and the integration tests are OK.
>>>>>>
>>>>>> So i'd like to open the discussion !
>>>>>> Thanks
>>>>>> Best Regards,
>>>>>> Gaetan
>>>>>>
>>>>>> [1] https://github.com/apache/ofbiz-plugins/pull/133
>>>>>> [2] https://github.com/apache/ofbiz-framework/pull/875
>>>>>> [3] https://issues.apache.org/jira/browse/SOLR-17503
>>>>>> [4] https://issues.apache.org/jira/browse/SOLR-17631
>>>>>> [5] https://issues.apache.org/jira/browse/OFBIZ-12645
>>>>>>
>>>>>> Base OFBiz ticket : https://issues.apache.org/jira/browse/OFBIZ-12989
>>>>>>