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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 41 weeks, 2 days ago