---
title: "PIIに敏感なフィールドのインデックス作成を有効にする"
slug: "enable-indexing-for-pii-sensitive-fields"
abstract: "個人を特定できる情報を含むフィールドのインデックス化を有効にする方法。"
---
# PIIに敏感なフィールドのインデックス作成を有効にする

デフォルトでは、xConnectはプライバシーの理由から個人識別情報(PII)の機密フィールドをインデックス化しません。しかし、PIIフィールドの情報を他のシステムと同期させる必要がある場合、PIIフィールドのインデックスをオンにする必要がある場合もあります。

> !注PIIに敏感なフィールドでのインデックス作成を有効にする前に、検索プロバイダーのセキュリティおよびデータ保護機能を必ず確認することをお勧めします。

インデックス作成を有効にするには:

1.  wwwroot\\<sitecoreInstanceName>\_xconnect\\App\_Data\\Config\\Sitecore\\SearchIndexer\\フォルダでsc.Xdb.Collection.IndexerSettings.xmlファイルを開いてください。
    
2.  Sitecore\\XConnect\\SearchIndexer\\Services\\IndexerSettings\\Options\\IndexPIISensitiveDataノードを見つけて*、true*に設定します:
    
    <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.  wwwroot\\<sitecoreInstanceName>\_xconnect\\App\_Data\\jobs\\continuous\\IndexWorker\\App\_data\\config\\sitecore\\SearchIndexer\\フォルダでsc.Xdb.Collection.IndexerSettings.xmlファイルを開いてください。
    
4.  Sitecore\\XConnect\\SearchIndexer\\Services\\IndexerSettings\\Options\\IndexPIISensitiveDataノードを見つけて、*true*に設定します。