Solr supports 2 modes:
Standalone
and
SolrCloud
.
The SolrCloud mode allows multiple running Solr instances to form a cluster.
When running Solr as a Standalone server, you will create
cores
to save documents.
When running Solr Cloud, you will create
collections
to save documents.
Environment variable: "
${SOLR_HOME}
"
-
Both Standalone and SolrCloud require a Solr home directory that contains the configuration of the running Solr instance along with its data.
-
"
${SOLR_HOME}
" is the path to the Solr home directory; for example: "/opt/solr/server/solr
".
Environment variable: "
${SOLR_ROOT}
"
-
"
${SOLR_ROOT}
" is the path to the Solr distribution directory; for example: "/opt/solr
".