Master Index Old Item Versions Not Getting Deleted in Sitecore 9.1+

Sitecore 9.1 and higher Coveo for Sitecore (October 28, 2020)

Symptoms

You create a new version of an item in Sitecore and old versions of the item don’t get removed from the Coveo master source.

Cause

When a new item version is created in Sitecore, Coveo for Sitecore bases itself on Sitecore revision numbers to establish whether previous versions of that item must be updated. Sitecore changed their revision numbering in Sitecore 9.1.0, breaking the ascending revision number trend that existed until then. As a result, Coveo is not setting its flag to have Sitecore update older versions of the item.

Resolution

The issue is resolved in the October 30, 2020 release of Coveo for Sitecore.

Workaround

You can rebuild your Coveo master database index through the Command Center, at [Your Sitecore instance]/coveo/command-center/index.html#indexes/. The rebuild operation includes a step during which older versions of items are deleted.

Recommended Articles