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.

Description description

Affected Environment

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

Live Search

Issue/Symptoms

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.

Resolution resolution

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.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f