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

Search result snippet for Web Content may not include the search terms

    Details

      Description

      Steps to reproduce:

      1. Create a very long web content. At the end of the content, add the word "findmyifyoucan"
      2. Go to a page, enter "findmyifyoucan" in the search portlet and click search
      3. Assert that the web content created in step 1 is returned as a result.

      Expected behavior: the search result snippet contains the word findmyifyoucan highlighted.

      Current behavior: the search result snippet contains only the first part of the web content and the search term is not included.

      The reason for this issue is that web content use structures and templates, and therefore the process to generate the highlighted snippet is different from other non-structured/non-templated content such as Wiki pages.

        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:
                  5 years, 6 days ago

                  Packages

                  Version Package
                  7.0.0 Alpha 1