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

Lucene: Can't set weight (boost) to keywords in search

    Details

      Description

      In searching documents or web content, it appears that keywords have minimal weight. And it is not possible to give more weight to keywords.
      For example, it is not possible to give more weight to matches in the title of the documents, then matches in the description, and then matches in the content.

      Steps:

      • increase the logging of com.liferay.portal.kernel.search.SearchEngineUtil to DEBUG
      • add the search portlet to a page
      • perform a search with the input test^5
      • confirm the boost modifier (^5) is lost from the query printed in the log

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 51 weeks, 5 days ago

                Packages

                Version Package
                6.1.X EE
                6.2.0 CE B1