Exact match search not working in ÃÛ¶¹ÊÓÆµ Commerce 2.4.x
This article provides a clarification for the issue where store front search results using the same search string differ in ÃÛ¶¹ÊÓÆµ Commerce 2.4.x compared to ÃÛ¶¹ÊÓÆµ Commerce 2.3.x.
Description description
Affected Environment
ÃÛ¶¹ÊÓÆµ 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 ÃÛ¶¹ÊÓÆµ Commerce 2.3 and ÃÛ¶¹ÊÓÆµ Commerce 2.4 stores.
Steps to reproduce:
- On the store front of an ÃÛ¶¹ÊÓÆµ 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
Saga 1
. - On the store front of an ÃÛ¶¹ÊÓÆµ 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 ÃÛ¶¹ÊÓÆµ 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 ÃÛ¶¹ÊÓÆµ Commerce 2.4.x, is implemented differently, and the actual result is the expected behavior when the module is used.
Related reading
- Install Live Search in our user guide.
- Live Search in our developer documentation.