Alfresco Search Enterprise is the Search Engine available for Alfresco Enterprise deployments that uses an external Elasticsearch or OpenSearch service. This blog post covers implementation details for the Indexing and Reindexing components.
Alfresco Content Services supports the Elasticsearch(ES) platform for searching within the repository using Alfresco Search Enterprise 3.X. While Elasticsearch is a robust technology, it has number of limitations whereas in some situations new index creation and re-indexing is required.
ES does not allow dynamic sharding therefore adding new shards to existing index when required is not possible.
ES does not allow modifying the existing field mappings, therefore modifications to existing contentModel fields will not be picked up from ES mapping. For Example, tokenisation FALSE to TRUE or field type changes.
However, considering the re-indexing speed this can be achieved within hours without downtime.
This documentation describes the steps which need to follow to build the indexes offline by connecting to same metadas store(Database).
Create the Elasticsearch index with new name (Example ‘alfresco-new’) with desired number of shards, replicas, total fields etc.