Enable indexing for PII sensitive fields

Version: 8.0

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.

Note

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:

  1. In the wwwroot\<sitecoreInstanceName>_xconnect\App_Data\Config\Sitecore\SearchIndexer\ folder, open the sc.Xdb.Collection.IndexerSettings.xml file.

  2. Locate the Sitecore\XConnect\SearchIndexer\Services\IndexerSettings\Options\IndexPIISensitiveData node, 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>
  3. In the wwwroot\<sitecoreInstanceName>_xconnect\App_Data\jobs\continuous\IndexWorker\App_data\config\sitecore\SearchIndexer\ folder, open the sc.Xdb.Collection.IndexerSettings.xml file.

  4. Locate the Sitecore\XConnect\SearchIndexer\Services\IndexerSettings\Options\IndexPIISensitiveData node, and set it to true.

Do you have some feedback for us?

If you have suggestions for improving this article,