When you install Search Services, several Solr configuration files are made available to you. The section lists the Solr configuration files, their location in the directory structure, and their description.
Note: Some of these files are only available once Search Services has been
started for the first time.
Configuration File | Location | Description |
---|---|---|
schema.xml | <SOLR_HOME>/solrhome/<core>/conf. For example <SOLR_HOME>/solrhome/alfresco/conf or <SOLR_HOME>/solrhome/archive/conf | This file defines the schema for the index including field type definitions with associated analyzers. It contains details about the fields that you can include in your document and also describes how those fields can be used when adding documents to the index or when querying those fields. The properties of this file are managed by an expert user. |
core.properties | <SOLR_HOME>/solrhome/alfresco/core.properties or <SOLR_HOME>/solrhome/archive/core.properties | This file specifies the cores to be used by Solr. |
solrconfig.xml | <SOLR_HOME>/solrhome/alfresco/conf or <SOLR_HOME>/solrhome/archive/conf | This file specifies the parameters for configuring Solr. Also, the Solr search components are added to this file. The properties of this file are managed by an expert Administrator user. |
solrcore.properties | <SOLR_HOME>/solrhome/alfresco/conf or <SOLR_HOME>/solrhome/archive/conf | This is the property configuration file for a core. Solr supports system property substitution, so properties that need substitution can be put in to this file. There is one solrcore.properties file in each core’s configuration directory. For details, see Solr core configuration properties. The properties of this file are managed by an Administrator user. |
context.xml | <SOLR_HOME> | This file specifies the Solr web application context template to use when installing Solr in separate tomcat server. |
ssl.repo.client.keystore | <SOLR_HOME>/solrhome/alfresco/conf or <SOLR_HOME>/solrhome/archive/conf | This keystore contains the Solr public/private RSA key pair. |
ssl.repo.client.truststore | <SOLR_HOME>/solrhome/alfresco/conf or <SOLR_HOME>/solrhome/archive/conf | This keystore contains the trusted Alfresco Certificate Authority certificate (which has been used to sign both the repository and Solr certificates) |
repository.properties | alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/ | This file specifies the Solr-related properties in how Alfresco connects to the Solr server, and is used only where the Solr server runs in the same Tomcat instance as Alfresco, since the connection properties are setup to connect to a locally running Solr server. The properties of this file are managed by an Alfresco Administrator user. |
Note: The solrcore.properties configuration file is the
property configuration file for a Solr core. There is one
solrcore.properties file in each core’s configuration
directory.