[
https://issues.apache.org/jira/browse/OFBIZ-13220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17942122#comment-17942122
]
Nicolas Malin commented on OFBIZ-13220:
---------------------------------------
I copy/paste the documentation write by Ayan Farooqui in thread discussion to
centralize it on this issue
I'll be present on OFBiz wiki soon :)
{code}
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.
{code}
> Move solr component to Attic
> ----------------------------
>
> Key: OFBIZ-13220
> URL: https://issues.apache.org/jira/browse/OFBIZ-13220
> Project: OFBiz
> Issue Type: Improvement
> Components: solr
> Reporter: Nicolas Malin
> Assignee: Nicolas Malin
> Priority: Major
> Labels: OFBiz, attic, solr
>
> Follow the discussion [1] that concern the jakarta migration to update Tomcat
> OFBIZ-12989 , we'll move the solr plugins to Attic.
> The reason is solr have a dependency with javax that block the jakarta
> migration so we suggest to use solr as standalone instance.
> If you can follow the documentation to move your solr embedded to standalone
> instance on wiki (TODO link) or in comment.
> [1] https://lists.apache.org/thread/zrb4wcs8q335xg0yjy07pl43xytw5h59
--
This message was sent by Atlassian Jira
(v8.20.10#820010)