---
title: "カタログアイテムインデックス用の言語セットを設定する"
slug: "configure-the-language-set-for-catalog-item-indexing"
abstract: "カタログアイテム検索のためにインデックスする言語セットを設定する方法。"
---
# カタログアイテムインデックス用の言語セットを設定する

ストアフロントとBusiness Toolsで複数言語でカタログアイテム検索を有効にするために、言語セットをインデックス化する必要があります。カタログアイテムのインデックス作成のために[Sitecoreマスターインデックスやウェブインデックスの完全な再構築](https://doc.sitecore.com/xp/ja/developers/101/sitecore-experience-commerce/manually-rebuild-sitecore-xp-indexes.html "Manually rebuild Sitecore XP indexes")をトリガーしたり、[インクリメンタルインデックスが](https://doc.sitecore.com/xp/ja/developers/101/sitecore-experience-commerce/incremental-index-updates.html "Incremental index updates")行われる場合、インデックスクローラーはSitecore.Commerce.Engine.Connect.configファイルの<defaultShopName>プロパティ値として指定されたデフォルトのショップ名(*ストアフロント*)を使用します。コンテンツエディターでは、<defaultShopName>プロパティは*/sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/*の*ストアフロント*アイテムに対応します。Commerce Engine Connectデータプロバイダーは、<defaultShopName>として指定されたストアフロントとのみやり取りするため、カタログ項目は、ストアフロントに割り当てられた[言語セット](https://doc.sitecore.com/xp/ja/developers/101/sitecore-experience-commerce/add-a-language-version-to-an-existing-storefront-site.html "Add a language version to an existing storefront site")に含まれる言語でインデックス化されており、<defaultShopName>として設定されています。

インデックス化された言語セットは、Business Toolsの言語セレクターにリストされている言語も駆動します。

> !注インデックス性能を最適化し、カタログアイテムインデックスのサイズを最小化するために、インデックス言語セットから不要な言語を削除するのがベストプラクティスです。

カタログアイテムインデックス用の言語セットを設定するには:

1.  www\\<Sitecore>\\App\_Config\\Include\\Y.Commerce.Engine\\Sitecore.Commerce.Engine.Connect.configファイルを開き、設定された<defaultShopName>がストアフロントの名前と一致しているか確認してください。以下の例はデフォルトの設定を示しています:
    
    <defaultShopName>CommerceEngineDefaultStorefront</defaultShopName>
    
2.  Sitecore Launchpadから、コンテンツエディターで */sitecore/Commerce/Commerce Control Panel/Storefront設定/Storefronts/CommerceDefaultStorefront/Language Configuration*に移動し、ドロップダウンリストでインデックス化する言語セットをクリックしてください。
    
    > !注/*sitecore/Commerce/Commerce Control Panel/共有設定/言語セット/*で言語セットの設定を必要に応じて[追加または削除](https://doc.sitecore.com/xp/ja/developers/101/sitecore-experience-commerce/add-a-language-version-to-an-existing-storefront-site.html "Add a language version to an existing storefront site")できます。
    
3.  Commerce Engineの設定を変更した場合は、[エンジンをブートストラップしてください](https://doc.sitecore.com/xp/ja/developers/101/sitecore-experience-commerce/bootstrap-the-commerce-engine.html "Bootstrap the Commerce Engine") 。
    
4.  Sitecoreコンテンツエディターのコマースコントロールパネルを変更した場合は、[Sitecoreのコンテンツ項目](https://doc.sitecore.com/xp/ja/developers/101/sitecore-experience-commerce/synchronize-content-items.html "Synchronize content items") とCommerce Engineデータベースのデータと同期してください。