September 18, 2020 Release (5.0.788.5)

This release includes the 2.9159.8 version of the JavaScript Search Framework (see June 2020 Release (v2.9159)).

When using a CDN with the Coveo for Sitecore Hive framework, this release includes the latest 2.9159 version of the JavaScript Search Framework (see Understanding How Coveo for Sitecore Loads the Coveo JavaScript Files (CDN)).

Downloads

This section provides build 5.0.788.5 download links for all supported versions of Sitecore. Download and install the Coveo for Sitecore package that matches your version of Sitecore (see Install Coveo for Sitecore in a Sitecore On-Premise Environment).

If you’re using SXA and want to be able to insert Coveo components in your SXA pages, download and install both the Coveo for Sitecore package and the SXA UI Components package (see Install Coveo for Sitecore SXA Components).

If you want to upgrade your version of Coveo for Sitecore 5 to this release, follow the upgrade procedure (see Upgrade Steps).

Release Notes

This section summarizes the new features and fixed support cases introduced in the Coveo for Sitecore September 18, 2020 release (5.0.788.5).

Identifier Enhancement
SC-4086 Expose the expression property for the Coveo JavaScript Search Framework FacetValueSuggestions component data source.
SC-4497 Added support for the Coveo JavaScript Search Framework SortDropdown component.
SC-4509 Added support for new usage analytics endpoint.
SC-4543 Provided ability to connect a Sitecore instance to Coveo organizations across all available data residency regions.
SC-4544 Added support for SXA 10.0.
SC-4554 Added support for Sitecore 10.0.
Identifier Case Fixed Support Case
SC-4551 00062150 Fixed issue with Sitecore returning 127.0.0.1 as the server URL on Azure.
Identifier Bug Fix
SC-4542 Enable license parameters queryQuotaPerOrgLimit and querySuggestQuotaPerOrgLimit to be used instead of queryRateLimit.

Upgrade Steps

This section describes how to upgrade Coveo for Sitecore from August 10, 2020 (5.0.761.5) to September 18, 2020 (5.0.788.5).

For the best Coveo for Sitecore experience, always follow the Leading Practices When Upgrading Coveo for Sitecore.

Step 1: Upgrade Coveo for Sitecore

Make sure the Microsoft MVC security update MS14-059 is installed on every Sitecore host in your environment.

  1. Log into the Sitecore Desktop.
  2. Access the Installation Wizard (Sitecore Start Menu > Development Tools > Installation Wizard).
  3. Upload and install the Coveo for Sitecore 5.0.788.5 package built for the specific version of Sitecore you’re running (e.g., Sitecore 9.0). You can find it in Downloads.
  4. When prompted to overwrite files, click Yes to all.
  5. When prompted to overwrite items, select Overwrite, then click Apply to all.

    You might be prompted twice with this question. Select the Overwrite option and click Apply to all both times.

  6. Once the installation is completed, make sure that you restart both the Sitecore client and server.

Step 2: Manually Update the Coveo Configuration Files

The Coveo configuration files are located in the App_Config\Include\Coveo folder. When upgrading, you must compare the changes to the .example files from your current Coveo for Sitecore version with the ones in the build you’re upgrading to. Then, you can merge these changes into your current configuration files. This method let’s you keep your customization intact, while still benefiting from the latest enhancements brought in the product. You can use a merge tool such as WinMerge to do this.

In further detail, here are the modifications that you must perform to the configuration files resulting from the feature changes between the previous and current Coveo for Sitecore releases:

Coveo.SearchProvider.Rest.config

The <analyticsUri> element text node has changed. The new value is https://platform.cloud.coveo.com/rest/ua. Update this setting, both in Coveo.SearchProvider.Rest.config and in the Coveo.SearchProvider.Rest.Custom.config patch file, to ensure the final configuration uses the new endpoint.

Coveo.Service.Api.IndexService.config and Coveo.Service.Api.ConfigService.config

Setting a cache expiration for storing organizations using the <fetchOrganizations> element has been moved from the Coveo.Service.Api.IndexService.config file to the Coveo.Service.Api.ConfigService.config file.

If you had manually changed the <fetchOrganizations> element value in Coveo.Service.Api.IndexService.config, ensure you set <fetchOrganizations> in Coveo.Service.Api.ConfigService.config to the same value.

Step 3: (Optional) Use queryQuotaPerOrgLimit Instead of queryRateLimit to Configure the Query Rate Limit

If you added the queryRateLimit parameter to your Coveo.SearchProvider.Rest.Custom.config file to configure the query rate limit, you should replace it with queryQuotaPerOrgLimit.

Step 4: End Use of UrlOptions and MediaUrlOptions Properties in Custom Code

The UrlOptions and MediaUrlOptions properties of the Coveo.Framework.Links.IUrlOptions and Coveo.Framework.Links.IMediaUrlOptions classes respectively have been marked as obsolete. Adjust your custom code if necessary.

Step 5: Publish Your Site

In the Sitecore Content Editor, perform a publish site action. This ensures any changes related to Coveo components in the upgrade are published to the web database.

Recommended Articles