Platform Administration and Architecture

Enable the 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.

Important

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

Azure Search configuration workaround

In Sitecore 9.2, 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.