You are here

Solr configuration files

When you install Alfresco 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.
Configuration File Location Description
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. As the Solr server runs in the same Tomcat instance as Alfresco, 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.
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 the Solr core configuration properties topic. 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-keystore-passwords.properties <SOLR_HOME>/solrhome/alfresco/conf or <SOLR_HOME>/solrhome/archive/conf This file contains the password information for ssl.repo.client.keystore.
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)
ssl-truststore-passwords.properties <SOLR_HOME>/solrhome/alfresco/conf or <SOLR_HOME>/solrhome/archive/conf This file contains the password information for ssl.repo.client.truststore.

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.