Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.2.X, 7.3.X, Master
-
7.3.x, 7.2.x
-
Committed
-
3
Description
Steps to reproduce
- Create a basic web content with title=aaa and content=bbb
- Create a basic web content with title=aaa 2 and content=bbb
- Create a basic web content with title=bbb and content=aaa
- Create a basic web content with title=bbb 2 and content=aaa
- Go to "System Settings" => "Search" => "Title Field Query Builder" and configure the "Exact Match Boost" to 100.0
- Create a page and add a Web Content Display portlet
- Go to the web content selection page
- The 4 previously created webcontent will be displayed
- Execute two searchs in the search bar using the "aaa" and "bbb" word:
- Expected behavior: The search result is ordered by relevance:
- if we search by "aaa", the webcontents with "aaa" title will be displayed on the top
- if we search by "bbb", the webcontents with "bbb" title will be displayed on the top
- if we search by "aaa", the webcontents with "aaa" title will be displayed on the top
- Wrong behavior: The search result is always ordered by modified date: the oldest webcontents are displayed on the top and the sorting is the same for the "aaa" or "bbb" search
- Expected behavior: The search result is ordered by relevance: