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

Web Content Search Results Returns Versions In Results

    Details

      Description

      Description:
      We expect that each search result hit corresponds to a UI entry result. If one web content has 50 versions of history, searching one of the words shouldn't populate multiple pages of our search results.

      Steps To Reproduce:
      1) Create a new site (set journal article indexing to true if you've changed the default).
      2) Create a basic Web Content article consisting of the word "frog" in content
      3) Publish the new Web Content article
      4) Edit the Web Content article by adding more words then publish
      5) Repeat step 4. five additional times
      6) Type "frog" into the search bar. (For 6.2 see below)
      7) Set the pagination to 5 items per page.

      For 6.2
      6) Navigate to the Web Content administration page found at the following:

      Admin > Site Administration > Content > Web Content

      7) Search for frog using the search box
      8) Set the pagination to 5 items per page

      Expected Results:
      There is 1 search result on 1 page with single article "frog" history as the entry.

      Actual Results:
      There are 6 search results on 2 pages, with 2 article entries both containing the same article with "frog" history.

      Branch:
      Reproducible in Branch

      62x-c175abec53e2a98c2ab31f3cd8b9e54766820325:80
      

      Master:
      Reproducible in Master

      1d3c201e7d158e41c7cf3a651fb695894d029988
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 4 weeks, 3 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP14
                  7.0.0 DXP SP3
                  7.0.3 CE GA4
                  7.0.0 DXP FP24
                  7.0.X EE
                  7.0.4 CE GA5
                  7.1.X
                  Master