Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-141268

Asset Browser search bar is sorting the results by modified date instead of sorting by relevance

Details

    Description

      Steps to reproduce

      1. Create a basic web content with title=aaa and content=bbb
      2. Create a basic web content with title=aaa 2 and content=bbb
      3. Create a basic web content with title=bbb and content=aaa
      4. Create a basic web content with title=bbb 2 and content=aaa
      5. Go to "System Settings" => "Search" => "Title Field Query Builder" and configure the "Exact Match Boost" to 100.0
      6. Create a page and add a Web Content Display portlet
      7. Go to the web content selection page
      8. The 4 previously created webcontent will be displayed
      9. 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
        • 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

      Attachments

        Activity

          People

            chao.wang Chao Wang
            jorge.diaz Jorge Diaz
            Kiyoshi Lee Kiyoshi Lee
            Jorge Diaz Jorge Diaz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              48 weeks, 4 days ago

              Packages

                Version Package
                7.2.10 DXP FP17
                7.2.10.6 DXP SP6
                7.2.X
                7.3.10.3 DXP SP3
                7.3.X
                7.4.3.5 CE GA5
                7.4.13 DXP U1
                Master