Configure Subsystem in Repository - Configure Subsystem in Repository - Alfresco - Alfresco Search Enterprise - Alfresco/Alfresco-Search-Enterprise/3.2/Alfresco-Search-Enterprise/Alfresco-Search-Enterprise/Overview/Configure-Subsystem-in-Repository - 3.2

Alfresco Search Enterprise

Platform
Alfresco
Product
Alfresco Search Enterprise
Release
3.2
ft:lastPublication
2026-05-06T19:34:57.842000
ft:locale
en-US
ArchiveStatus
Archived

You must first activate and configure the Search Services subsystem in Content Services by using either the TOMCAT_HOME>/shared/classes/alfresco-global.properties file or the Repository Admin Web Console.

Add the following lines to the configuration file alfresco-global.properties to enable the Elasticsearch Search subsystem.

# Set the Elasticsearch subsystem
index.subsystem.name=elasticsearch
# Elasticsearch index properties
elasticsearch.indexName=alfresco
elasticsearch.createIndexIfNotExists=true
# Elasticsearch server properties
elasticsearch.host=localhost
elasticsearch.port=9200
elasticsearch.baseUrl=/

These configuration properties are used by Content Services to communicate with the Elasticsearch server. In the example above a plain HTTP connection is configured, but Alfresco Repository also supports communication with Elasticsearch server using Basic Authentication and the HTTPs protocol, for more see Subsystem.

If using the Repository Admin Web Console select Repository Services > Search Service and set the properties from that web page, see below.

console

Note

In Content Services 7.1, the Test Connection button will fail if your Elasticsearch server does not include the "alfresco" index. You are however still able to Save your configuration and the index will be created automatically.