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:
Navigate to the
<xConnect role root>\App_Data\jobs\continuous\IndexWorker\App_Data\config\sitecore\SearchIndexer\
folder.Open the
sc.Xdb.Collection.IndexerSettings.xml
file.Set the
IndexAnonymousContactData
setting totrue
.<IndexAnonymousContactData>true</IndexAnonymousContactData>
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.