Skip to main content

Enable indexing of anonymous contacts in the xDB index


How to enable the xConnect Search Indexer to index anonymous contacts.

Indexing of anonymous contacts by the xConnect Search Indexer is disabled by default. To enable it:

  1. Navigate to the <xConnect role root>\App_Data\jobs\continuous\IndexWorker\App_Data\config\sitecore\SearchIndexer\ folder.

  2. Open the sc.Xdb.Collection.IndexerSettings.xml file.

  3. Set the IndexAnonymousContactData setting to true.

  4. Rebuild the xDB search index.


Enabling this setting typically causes a significant increase in the amount of data to be indexed. Make sure that both Solr / Azure Cognitive Search and the xConnect Search Indexer are sized appropriately.


The xConnect Collection Search service role has an identical sc.Xdb.Collection.IndexerSettings.xml file under <xConnect role root>\App_Data\Config\Sitecore\SearchIndexer\. The IndexAnonymousContactData setting in this file is not used. Do not edit it.