March 19, 2024
How to Change the Default Solr Home Path in ColdFusion
Comments
(0)
March 19, 2024
How to Change the Default Solr Home Path in ColdFusion
Staff 11 posts
Followers: 2 people
(0)

Sometimes, there are instances where you might need to customize the default Solr configuration, such as changing the default Solr home path. This blog will guide you through the process of changing the Solr home path in ColdFusion to a custom location.

1.  Copy the entire “multicore” folder from the default install(\ColdFsuion2023\cfusion\jetty\multicore) to the custom folder, say for example C:\collections\multicore.

2. Go to the ColdFusion admin page, find the Solr server settings, and update the path to point to your new custom folder.

 

3. If you’ve installed the Add-on service separately from the ColdFusion folder using the Add-ons Standalone installer, edit the “jetty.lax” file and change the Solr home path to new path. Lax file is located at C:\ColdFusionAdd-onServices.

lax.nl.java.option.additional=-server --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED -Xmx512m -XX:+ScavengeBeforeFullGC -XX:-UseParallelGC -DSTOP.PORT=8077 -DSTOP.KEY=cfstop -Dsolr.solr.home=C:\collections\multicore

Note: For Linux based installations, the Solr home path is in the “cfjetty” file.

4. Finally, restart the ColdFusion 2023 Add-on Services and then the ColdFusion 2023 Application Server.

 

0 Comments
Add Comment