Managing solrconfig.xml
As we already know now, solrconfig.xml
forms the heart of Solr when it comes to configuring Solr.
There are two ways in which this file is modified:
- By making direct changes in
solrconfig.xml
- Using the config API to create
configoverlay.json
, which holds configuration overlays to modify the default values specified insolrconfig.xml
The solrconfig.xml
 file is used to configure the admin web interface. It can be used to change parameters for replication and duplication. We can change the request dispatcher too using solrconfig.xml
. Various listeners and request handlers can be configured using solrconfig.xml
.
Go to any of the conf directories for a collection and you will find solrconfig.xml
inside. Navigate to SOLR_HOME/server/solr/configsets
and you will see various configurations that follow best practices for configuring Solr.
Solr allows you to specify a variable for the property value, which can be replaced at runtime with the following syntax:
${propertyname[:default...