Enable indexing of PII sensitive data in the xDB index

Version: 9.2

By default, the xConnect Search Indexer service does not index personal data, which is represented by contact facets marked [PIISensitive].

Important

The Experience Profile and List Manager interfaces rely on personal data being available in the xDB index. Customers must make the explicit choice to enable indexing of personal data. Sitecore encourages customers to review the security and data protection features of their chosen search provider (Azure Search or Solr).

To enable indexing of PII sensitive data in the xDB index:

  1. Open the xConnect Search Indexer configuration located at C:\<Path to indexer>\App_data\Config\Sitecore\SearchIndexer\sc.Xdb.Collection.IndexerSettings.xml.

    Tip

    In a default on-premise deployment, the full path is C:\<Path to xConnect>\root\App_data\jobs\continuous\IndexWorker\App_data\Config\Sitecore\SearchIndexer\sc.Xdb.Collection.IndexerSettings.xml.

  2. Set IndexPIISensitiveData to true, as shown in the following example:

    RequestResponse
    <Settings>
    <Sitecore>
        <XConnect>
        <!-- SearchIndexer role requires Collection and CollectionSearch role services -->
        <SearchIndexer>
            <Services>
            <IndexerSettings>
                <Type>Sitecore.Xdb.Collection.Indexing.IndexerSettings, Sitecore.Xdb.Collection</Type>
                <LifeTime>Singleton</LifeTime>
                <Options>
                <IndexPIISensitiveData>true</IndexPIISensitiveData>
                <IndexAnonymousContactData>false</IndexAnonymousContactData>
                </Options>
            </IndexerSettings>
            <IIndexer>
                <Type>Sitecore.Xdb.Collection.Indexing.DecoratedIndexer, Sitecore.Xdb.Collection</Type>
                <As>Sitecore.Xdb.Collection.Indexing.IIndexer, Sitecore.Xdb.Collection</As>
                <LifeTime>Singleton</LifeTime>
            </IIndexer>
            <IIndexRebuildFlow>
                <Type>Sitecore.Xdb.Collection.Indexing.IndexRebuildFlow, Sitecore.Xdb.Collection</Type>
                <As>Sitecore.Xdb.Collection.Indexing.IIndexRebuildFlow, Sitecore.Xdb.Collection</As>
                <LifeTime>Singleton</LifeTime>
                <Options>
                <IncomingDataLagOnCompletion>0.00:00:05</IncomingDataLagOnCompletion>
                <!--Enable ParallelizationDegree setting to override default value which is (processorCount*4)-->
                <!--<ParallelizationDegree>16</ParallelizationDegree>-->
                <BatchSize>1000</BatchSize>
                </Options>
            </IIndexRebuildFlow>
            </Services>
        </SearchIndexer>
        </XConnect>
    </Sitecore>
    </Settings>
  3. Rebuild the xDB search index.

    Important

    If you change the value of the IndexPIISensitiveData from true back to false, you must rebuild the index again to remove personal data.

Do you have some feedback for us?

If you have suggestions for improving this article,