Exact match search not working in Adobe Commerce 2.4.x

This article provides a clarification for the issue where store front search results using the same search string differ in Adobe Commerce 2.4.x compared to Adobe Commerce 2.3.x.

Affected products and versions

  • Adobe Commerce (all deployment methods) 2.4.x, 2.3.x
  • Live Search

Issue

Prerequisites:

You have products with attribute values Saga 1 and Saga 16 in both Adobe Commerce 2.3 and Adobe Commerce 2.4 stores.

Steps to reproduce:

  1. On the store front of an Adobe Commerce 2.3 powered store, enter Saga 1 in the search field and click Search.
  2. Notice that in search results, you only get the products with the attribute value Saga 1.
  3. On the store front of an Adobe Commerce 2.4 powered store, enter Saga 1 in the search field and click Search.

Actual result:

Search results in 2.4 include products with attribute values Saga 1 and Saga 16.

Expected result:

Search results in 2.4 are similar to 2.3 and only include products with attribute value Saga 1.

Cause

The Adobe Commerce native search functionality used in 2.3.x provides exact match search results. While Live Search, an optional module available for installation, which was released with Adobe Commerce 2.4.x, is implemented differently, and the actual result is the expected behavior when the module is used.

Install Live Search in our user guide.

Live Search in our developer documentation.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a