Search Services externalized configuration - Alfresco Search Services - 2.0 - 2.0 - Ready - Alfresco - external - Alfresco/Alfresco-Search-Services/2.0/Alfresco-Search-Services/Configure/Overview/Search-Services-directory-structure/Search-Services-externalized-configuration - 2025-04-04

Alfresco Search Services

Platform
Alfresco
Product
Alfresco Search Services
Release
2.0
License

As a best practice, use the alfresco-search-services/solr.in.sh file (Linux-based platform) or alfresco-search-services/solr.in.cmd file (Windows-based platform) to set the external configuration that applies to all the Search Services cores.

Note: For any property, only the environment variables should be specified in the solr.in.sh/ solr.in.cmd file. For example, SOLR_SOLR_HOST, SOLR_SOLR_PORT, or SOLR_ALFRESCO_PORT.

The following configuration properties are used by an external client, such as Alfresco to talk to Solr. Besides the solr.in.sh/ solr.in.cmd file, you can also set these properties in the alfresco-search-services/solrhome/conf/shared.properties file.

Note: From Search Services 2.0 the solr.content.dir property has been removed. The solr.content.dir was a filesystem-based extension of the Solr index. It was used for maintaining a copy of the original data indexed in Solr. The storage the solr.content.dir provided is available in Solr itself which means that it can be safely removed from Search Services 2.0 onwards. The removal of solr.content.dir does not mean a loss of functionality because the Solr storage capabilities still retain a copy of the data originally sent for indexing.