Enable indexing of anonymous contacts in the xDB index


Procedure for enabling xConnect Search Indexer to index anonymous contacts.

This topic demonstrates how to enable indexing of anonymous contacts. Indexing of anonymous contacts is disabled by default.

  1. Open the xConnect Search Indexer sc.Xdb.Collection.IndexerSettings.xml configuration file. In a default on-premise deployment, the full path is \<xConnect role root>\App_Data\jobs\continuous\IndexWorker\App_data\Config\Sitecore\SearchIndexer\sc.Xdb.Collection.IndexerSettings.xml.


    You must edit the xConnect Search Indexer copy of the sc.Xdb.Collection.IndexerSettings.xml configuration file. The xConnect Collection Search service role has an identical configuration file under \<xConnect role root>\App_data\Config\Sitecore\SearchIndexer\sc.Xdb.Collection.IndexerSettings.xml. The IndexAnonymousContactData setting in this file is not used.

  2. Set IndexAnonymousContactData to true as shown:

  3. Rebuild the xDB search index.