Let's now understand the constituents of Solr, its directory structure, and the significance of each folder and the configurations involved. This diagram shows the parent-level directory of Solr, along with an explanation of each folder:
Let's look at the major folders and files we will be dealing with.
The bin folder has all the scripts primarily needed to get up and running with Solr. Mainly, we will be using Solr and post scripts for our day-to-day purposes. It is also the location to place the replication scripts for more advanced setup, if needed. The bin
folder is home to the following utilities: it contains the solr.in.sh
and solr.in.cmd
files, from where you can provide input parameters to Solr. It has the install_solr_service.sh
script and the oom_solr.sh
and init.d
folders, if you want to run it as a service on any Linux/Unix service.
Since we will be using Solr scripts very often, it is advisable to add $SOLR_HOME/bin
(for example...