Coveo for Sitecore 5 is now available!

Items in Different Languages Are Not Automatically Indexed or Updated When Language Fallback Is Enabled

Sitecore 8.1 only 

Symptoms

In Sitecore 8.1, you have enabled language fallback either at the item or at the field level.

You then get one or more of the following symptoms:

  • Editing an item that has language fallback enabled re-indexes the edited version, but not the versions that fallback on it.
  • Quickviews of fallback items show the old version of the item rather than its updated one.
  • When creating a new item with item language fallback enabled, you are unable to find the items that fall back on it in your search page.

Cause

Due to an issue in Sitecore 8.1, the items that fallback from your Sitecore items are not automatically pushed to be indexed, and are only updated on a full index rebuild.

Resolution

There are three potential solutions to this issue.

Contact Sitecore Support

Sitecore has already created a patch to fix this issue in Sitecore 8.1 update 3 (8.1.160519).

You are encouraged to upgrade to this version of Sitecore, and contact them (see Sitecore Support) to install the patch in your Sitecore instance.

This is the recommended way to fix the issue.

Update Your Sitecore Version

This issue has been fixed in Sitecore 8.2. Upgrading your Sitecore 8.1 version to a Sitecore 8.2 version thus fixes the issue (see Upgrading Sitecore With Coveo for Sitecore).

Rebuild Your Search Indexes

While the fallback language items are not automatically updated in the index, rebuilding them does. You can thus decide to rebuild your indexes every time you modify an item with language fallback enabled (see Coveo for Sitecore Indexing Guide).

This method can be very time-consuming with large indexes. It should only be considered with either small indexes, or when your indexes are already regularly rebuilt.