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

Add highlight portlet configs and remove highlight property

Details

    Description

      Search highlighting should be controlled by portlet configurations instead of a portal property.

      index.search.highlight.enabled was changed to false by default for performance reasons in -LPS-72106-. A portlet configuration was added to the search portlet to maintain the option of highlighting, however the property change disables highlighted search results in the wiki and web content search portlets. To re-enable highlighting for those portlets, you would have to reintroduce the performance problem by setting the property back to true. This fix REMOVES the index.search.highlight.enabled property and ADDS configurations to the other portlets to enable or disable highlighting.

      Steps to reproduce:

      1. Create a web content article
      2. Add the Web Content Search portlet to a page
      3. Configure the portlet to show any content
      4. Search for the title of the article

      Expected Result:
      The search result would show the title highlighted as expected

      Actual Result:
      The title is not highlighted

      Reproduced on master - 5b2b081

      Attachments

        Issue Links

          Activity

            People

              brian.lee Brian Lee
              bryan.engler Bryan Engler
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 13 weeks, 3 days ago

                Packages

                  Version Package
                  7.0.0 DXP FP26
                  7.0.0 DXP FP31
                  7.0.X EE
                  7.0.4 CE GA5
                  7.0.5 CE GA6
                  7.0.X
                  7.1.X
                  Master