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
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:
- On the store front of an Adobe Commerce 2.3 powered store, enter Saga 1 in the search field and click Search.
- Notice that in search results, you only get the products with the attribute value
- On the store front of an Adobe Commerce 2.4 powered store, enter Saga 1 in the search field and click Search.
Search results in 2.4 include products with attribute values
Saga 1 and
Search results in 2.4 are similar to 2.3 and only include products with attribute value
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.