This article provides a patch for the known Adobe Commerce issue, where the Advanced search does not show most relevant results first.
The advanced search function is not returning the most relevant results first, like the quick search is doing. The issue does not depend on the selected search engine type.
Steps to reproduce:
The “Orion Two-Tone Fitted Jacket” is the first result when using Advanced search, as the most relevant result.
The “Orion Two-Tone Fitted Jacket” is not the first result, though it is the most relevant.
To solve the issue, apply the patch attached to this article. To download it, scroll down to the end of the article and click the file name, or click the following link:
The patch adds the implementation for sorting by relevance for advanced search results as the default sorting field.
The patch is compatible with all affected versions and editions.
For instructions, see How to apply a composer patch provided by Adobe in our support knowledge base.