4.2.2.9. Solr Home Configuration

To install the Solr configuration, simply unzip the modules/search/solr-config/target/solr-config.zip file to an arbitrary location on your target host and make sure that you set the solr.solr.home JVM property accordingly in your WebSphere Application Server as described in Chapter 5, Settings for IBM WebSphere Application Server.

Alternatively, if you don't want to use JVM properties, which require a server restart, you may duplicate the web.xml file of the Solr web application and comment in the part where an env-entry is being used to set solr.solr.home.

The configuration for a master Solr only differs from the configuration for a slave Solr in the properties enable.master and enable.slave in the solr-home/configsets/*/conf/solrconfig.xml files.

The data directory can be set in the solrconfig.xml files too. Look for the dataDir XML element.