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

Exceptions are thrown in Liferay and Solr logs when a user enters a search query using a lowercase keyword

    Details

      Description

      Exceptions are thrown in Liferay and Solr logs when a user enters a search query using a lowercase keyword. Lowercase search keywords are interpreted as search terms rather than keywords, while uppercase keywords are interpreted correctly.

      Steps to Reproduce:

      1. Connect Solr to Liferay.
      2. Create 2 web content articles titled "apple" and "banana".
      3. Enter "apple and banana" in the web content search bar. (broken query)
      4. Enter "apple AND banana" in the web content search bar. (working query)

      Expected Result:
      A user is able to enter a search query using either lowercase or uppercase keywords and the query should execute fine.

      Actual Result:
      Using a lowercase keyword causes exceptions in the log.

      This is a regression bug in ee-6.2.x caused by LPS-54279. It is not reproducible in master because it was fixed during the move to Elasticsearch.

        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:
                  4 years, 14 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE