Skip to main content

Enable the indexing sub-role


How to enable the Sitecore Content Manager and Content Delivery indexing sub-role.

Applies to

Content Management, Content Delivery (geo-scaled scenarios only)

To enable the indexing sub-role, add Indexing to the role:define key in web.config as shown:

<add key="role:define" value="ContentManagement, Indexing"/>

The indexing sub-role is enabled by default in the Content Management WDP in the XP Scaled topology, and in the combined role WDP in the XP Single topology.


Indexing must be performed by one instance only. If you install additional Content Management instances, you must remove the Indexing sub-role from those instances.

Azure Search configuration workaround

Additional steps are required to enable the indexing sub-role.

Allowing Content Delivery to perform indexing

In a geo-scaled environment with more than one Content Delivery cluster, you might have a dedicated instance of Solr or Azure Search for each region. In such a case, you should assign the indexing sub-role to a single Content Delivery instance in the region that is not being updated by the Content Management role.