MDVA-37182: inconsistent search results in ElasticSearch 6 and 7
The MDVA-37182 patch fixes the issue with inconsistent search behavior across versions 6 and 7 of ElasticSearch. This patch is available when the Quality Patches Tool (QPT) 1.0.22 is installed. The patch ID is MDVA-37182. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.3.
Affected products and versions
The patch is created for Adobe Commerce version: Adobe Commerce on cloud infrastructure 2.4.1
Compatible with Adobe Commerce versions: Adobe Commerce on-premises and Adobe Commerce on cloud infrastructure 2.4.1-2.4.2
magento/quality-patches
package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.Issue
Inconsistent search behavior.
Steps to reproduce:
-
Create products with the following details:
- Names: “5127AC”, “5127SS”, “5127AB”
- SKUs: “product1”, “product2”, “product3”
-
Set search engine to ElasticSearch 6 (ES6).
-
Run full reindex.
-
On the storefront, search for “5127s”.
-
Set search engine to ElasticSearch 7 (ES7).
-
Run full reindex.
-
On the storefront, search for “5127s”.
Actual result::
ES6: search returns no results.ES7: search returns three products.
Expected result::
Search returns one product for both versions.
Apply the patch
To apply individual patches, use the following links, depending on your Adobe Commerce product:
- Adobe Commerce or Magento Open Source on-premises: Software Update Guide > Apply Patches in our developer documentation.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in our developer documentation.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool released: a new tool to self-serve quality patches in our support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in our support knowledge base.
For info about other patches available in QPT tool, refer to the Patches available in QPT tool section.