Enable indexing of PII sensitive data in the xDB index
By default, the xConnect Search Indexer service does not index personal data, which is represented by contact facets marked [PIISensitive].
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).
To enable indexing of PII sensitive data in the xDB index:
-
Open the xConnect Search Indexer configuration located at
C:\<Path to indexer>\App_data\Config\Sitecore\SearchIndexer\sc.Xdb.Collection.IndexerSettings.xml.TipIn 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. -
Set
IndexPIISensitiveDatatotrue, 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> -
Rebuild the xDB search index.
ImportantIf you change the value of the
IndexPIISensitiveDatafromtrueback tofalse, you must rebuild the index again to remove personal data.