Enable indexing of PII sensitive data in the xDB index

Current version: 10.2

This topic demonstrates how to enable indexing of contact facets marked [PIISensitive]. Indexing of personal data is disabled by default.

Note

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 (Solr).

  1. Open C:\<Path to indexer>\App_data\Config\Sitecore\SearchIndexer\sc.Xdb.Collection.IndexerSettings.xml.

    Note

    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:

    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.

    Note

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

Do you have some feedback for us?

If you have suggestions for improving this article,