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

Disable search highlighting by default and make if configurable in search portlet

    Details

      Description

      Disable search highlighting by default and make if configurable in search portlet (enabled by default).

      Steps
      1. Sign in.
      2. Add some kind of content.
        1. Searching for the content in the static search portlet should have highlighting.
      3. Click drop down from search > Configuration > Other Settings.
      4. There should be a new "Enable Highlighting" option, checked by default.
        1. Uncheck and save.
          1. Should be unchecked.
          2. Searching for the content in the static search portlet content should not have highlighting.
        2. Reenabled highlighting and save.
          1. Searching for the content should have highlighting.

      Currently highlighting is always enabled unless changing the global portal.property:

      index.search.highlight.enabled

      This causes poor performance with searches that do not use search highlighting. The global property will be set to false after this change.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 49 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP22
                  7.0.0 DXP SP4
                  7.0.0 DXP FP28
                  7.0.X EE
                  7.0.4 CE GA5
                  7.1.X
                  Master