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.
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
.Warning
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
. TheIndexAnonymousContactData
setting in this file is not used.Set
IndexAnonymousContactData
totrue
as shown:<IndexAnonymousContactData>false</IndexAnonymousContactData>
Rebuild the xDB search index.