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

Search result snippet for Web Content is not a snippet

    Details

      Description

      DESCRIPTION
      Web Content Search displays the FULL content vs. just a snippet.

      STEPS TO REPRODUCE
      1. Navigate to home site
      2. Create 1 web content article with only the word "hello" in the content.
      3. Create 1 more web content article with a lot of text (50000 characters), and put "hello somewhere in the content (e.g. the middle).
      4. Add web content search portlet to the home page and in the configuration, uncheck " Only show results for web content listed in a Web Content Display portlet. "
      5. Use web content search to search for the word "hello"
      6. See results which show the entire article

      ACTUAL RESULTS
      A huge block of text is shown.

      EXPECTED RESULTS
      A small block of text with the highlighted "hello" term should be shown.

        Attachments

        1. fix1.png
          fix1.png
          25 kB
        2. reproduce1.png
          reproduce1.png
          92 kB
        3. snippet_fixed.png
          snippet_fixed.png
          55 kB

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  7.0.1 CE GA2