Sharding - Sharding - Alfresco - Alfresco Search Enterprise - Alfresco/Alfresco-Search-Enterprise/4.2/Alfresco-Search-Enterprise/Administer/Pre-indexing-considerations/Sharding - 4.2 - 4.2

Alfresco Search Enterprise

Platform
Alfresco
Product
Alfresco Search Enterprise
Release
4.2
License
ft:lastPublication
2026-10-22T08:26:09.664000
ft:locale
en-US

A shard is a small chunk of memory where indexed data is stored. Before you index Search Enterprise you can configure how many shards and replicas you want to use. How you configure the shards will depend on your intended data volume and the size of each shard. Here’s the command to use:

curl -XPUT '<Search Enterprise URL>:<port>/<index name>?pretty' -H 'Content-Type: application/json' -d'
{
  "settings" :{
    "number_of_shards":<expected number of shards>,
    "number_of_replicas":<0 for no replica, 1 for 1 replica of each shards and so on>
  }
}