Enable indexing for PII sensitive fields
By default, xConnect does not index personally identifiable information (PII) sensitive fields for privacy reasons. However, there are situations, such as if you have to synchronize information in PII fields with other systems, where you must switch on indexing for PII fields.
Before enabling indexing on PII sensitive fields, we encourage you to review the security and data protection features of your search provider.
To enable indexing:
-
In the
wwwroot\<sitecoreInstanceName>_xconnect\App_Data\Config\Sitecore\SearchIndexer\folder, open thesc.Xdb.Collection.IndexerSettings.xmlfile. -
Locate the
Sitecore\XConnect\SearchIndexer\Services\IndexerSettings\Options\IndexPIISensitiveDatanode, and set it to true:RequestResponse<IndexerSettings> <Type>Sitecore.Xdb.Collection.Indexing.IndexerSettings, Sitecore.Xdb.Collection</Type> <LifeTime>Singleton</LifeTime> <Options> <!-- Indexer will split change set on chunks to improve memory consumption. Setting this option to 0, a negative value or removing the element completely, results in no splitting.--> <SplitRecordsThreshold>25000</SplitRecordsThreshold> <IndexPIISensitiveData>true</IndexPIISensitiveData> <IndexAnonymousContactData>false</IndexAnonymousContactData> </Options> </IndexerSettings> -
In the
wwwroot\<sitecoreInstanceName>_xconnect\App_Data\jobs\continuous\IndexWorker\App_data\config\sitecore\SearchIndexer\folder, open thesc.Xdb.Collection.IndexerSettings.xmlfile. -
Locate the
Sitecore\XConnect\SearchIndexer\Services\IndexerSettings\Options\IndexPIISensitiveDatanode, and set it to true.