Configure HDS 4+ to use with nopAccelerate Solr Integration Plugins for integrating Apache Solr with your nopCommerce store.
It is very important to configure Solr correctly before you proceed with using nopAccelerate Solr Plugins for your nopCommerce store.
Step 1: Open Solr Admin
Go to Solr Admin URL, eg. http://localhost:8983/solr
Step 2: Selecting Solr Core to be used with your nopCommerce Store integration
Decide Core you’ll be using for your application. You can either create new Core or use default Core created during installation.
Hint: A Core, also referred as Solr Core, is a running instance of a Solr index along with all of its configuration (SolrConfigXml, SchemaXml, etc…). A single Solr application can contain 0 or more cores which are run largely in isolation but can communicate with each other if necessary via the CoreContainer.
If you’re using the default Core created during installation, then skip Step 3.
We’re are creating a new solr core named as “newcore” to illustrate the steps involved in creating new solr core. You can name it whatever you like.
Step 3: Prepare Solr Core Folder
The easiest way is to copy the “C:\HDS\server\solr\collection1” and paste it as “newcore” at same location. So it will be available as “C:\HDS\server\solr\newcore“. You have to change the name of core in core.properties file located at “C:\HDS\server\solr\newcore\”.
Step 4: Copy & Replace Solr Config files for nopCommerce Integration
Now, copy schema.xml, solrconfig.xml & elevate.txt file provided with nopAccelerate Plugin to replace existing file at C:\HDS\server\solr\newcore\conf\
Note: If you’re using the default core, then replace the file in C:\HDS\server\solr\collection1\conf\
Step 5: Adding new Solr Core
Add new Core into Solr Admin. Go to Solr Admin URL, and then click on Core Admin. Once you’re into Core Admin, you’ll see a “Add Core” button at the top. Click on Add Core.
Provide the details of the new core you’ve just created. All the fields are self explanatory.
Remember that you need to give full URL in instanceDir & dataDir field. And it must be present before you Add Core here. Also provide the name of config & schema file to proceed.
And click on “Add Core”. Once finished, you’ll see your newly created core added to the Solr.
Your Solr Core is now ready to be used with nopAccelerate.
← Go back to Installing Apache Solr
Proceed with next step to Installing nopAccelerate Solr Plugins→