Enable indexing of anonymous contacts in the xDB index

Version: 9.2

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.

    RequestResponse
    <IndexAnonymousContactData>true</IndexAnonymousContactData>
    
  4. Rebuild the xDB search index.

Warning

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.

Warning

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.

Do you have some feedback for us?

If you have suggestions for improving this article,