Configure the language set for catalog item indexing

Current version: 10.0

You must index a language set to enable catalog item search in multiple languages on your storefront and in the Business Tools. When you trigger a full rebuild of Sitecore master and web indexes to index catalog items, or when incremental indexing occurs, the index crawler uses the default shop name (storefront) that is specified as the <defaultShopName> property value in the Sitecore.Commerce.Engine.Connect.config file. In the Content Editor, the <defaultShopName> property corresponds to a storefront item under /sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/. Since the Commerce Engine Connect data provider only interacts with the storefront specified as the <defaultShopName>, catalog items are indexed the languages included in the language set assigned to the storefront configured as the <defaultShopName>.

The indexed language set also drives the languages that are listed in the Business Tools language selector.

Note

For optimized indexing performance and to minimize the size of the catalog item indexes, it is best practice to remove any unnecessary languages from the indexed language set.

To configure the language set for catalog item indexing:

  1. Open the www\<Sitecore>\App_Config\Include\Y.Commerce.Engine\Sitecore.Commerce.Engine.Connect.config file, and make sure that the configured <defaultShopName> matches the name of your storefront. The following example shows the default configuration:

    RequestResponse
    <defaultShopName>CommerceEngineDefaultStorefront</defaultShopName>
  2. From the Sitecore Launchpad, in the Content Editor, go to /sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/CommerceEngineDefaultStorefront/Language Configuration and, in the drop-down list, click the language set to index.

    Note

    You can add or remove languages from the language set configuration as needed under /sitecore/Commerce/Commerce Control Panel/Shared Settings/Language Sets/.

  3. If you made changes to the Commerce Engine configuration, bootstrap the engine.

  4. If you made changes to the Commerce control panel in the Sitecore Content Editor, synchronize Sitecore content items with the data in the Commerce Engine database.

Do you have some feedback for us?

If you have suggestions for improving this article,