Documentation Center

Configuring a custom Solr index directory location

By default, the Solr index is in %TRIDION_HOME%\Search\solr-data\tridion\index. Change a registry key if you want to change this location. Depending on the folder structure you want to have, you may also need to change one or more Solr configuration files.

Procedure

  1. On the server that contains your Solr index, start your registry editor.
  2. Navigate to the registry location HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Procrun 2.0\TcmSearchHost\Parameters\Java\options.
  3. Change the value of the solr.data.dir registry key in this location to the directory of your choice.
  4. To specify a custom folder structure, navigate to %TRIDION_HOME%\solr-tomcat\conf\ and do one or both of the following:
    • Open solrconfig.xml for editing and find the <dataDir> element, which defaults to the value ${solr.data.dir:./solr/data}. Change this value as needed, and save and close solrconfig.xml.
    • Open solr.xml for editing and find the property element with its name attribute set to dataDir. The value attribute of that element defaults to the value ${solr.data.dir}/tridion. Change this value as needed, and save and close solr.xml.
  5. From the Administrative Tools in your Control Panel, access Services and restart the service called SDL Web Content Manager Search Indexer Service.