The Exact Term search feature, that allows searching using the equals operator =, is disabled by default to save index space. It's possible to enable it for specific properties and property types using the following configuration file /alfresco/search/elasticsearch/config/exactTermSearch.properties located in the Alfresco Repository.
Note
Once you have the Exact term search configured a re-index is required. If you need the feature from the beginning, it is recommended to enable it before your first index is created.
Property
Description
alfresco.cross.locale.datatype.0
A new cross locale field has been added for any property of this data-type. For example {http://www.alfresco.org/model/dictionary/1.0}text.
alfresco.cross.locale.property.0
A new cross locale field to cover exact term search) has been added for the property. For example {http://www.alfresco.org/model/content/1.0}content.
You can add as many data-types and properties as you like by adding lines and incrementing the associated index:
In order to overwrite this configuration when using Docker, mount this file as an external volume. Following sample describes a local configuration to be applied to Elasticsearch Search Subsystem when using Docker Compose deployment: