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

Search / Web Content Search - search by category if category contains upper case letters does not work for single word search terms

    Details

      Description

      I was able to reproduce this in both master and ee-6.1.x.

      Searching by categories in the search / web content search portlet when the category has an upper case letter doesn't work if the search term is only one word. This becomes a problem because there is no workaround if a category is only one word (other than only using lower case letters). Reindexing does not change the results.

      Steps to reproduce:

      1. Add a category with an upper case letter (e.g. "Very Large Cat").
      2. Add a web content and add that category to the web content
      3. Add a search portlet and web content search portlet. Searching in both these portlets yields the same results.
      4. These search terms will cause the web content to display in the search results
        • "Very Large"
        • "Very Cat"
        • "Very Large Cat"
        • "Large Cat"
      5. These search terms will yield no results
        • "Very"
        • "Large"
        • "Cat"

      Expected result:
      Searching by one word should yield results.

      Actual result:
      Searching by one word doesn't yield any results.

        Attachments

        1. Search1.JPG
          Search1.JPG
          56 kB
        2. Search2.JPG
          Search2.JPG
          48 kB
        3. Search3.JPG
          Search3.JPG
          53 kB
        4. Search4.JPG
          Search4.JPG
          60 kB
        5. Search5.JPG
          Search5.JPG
          56 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 29 weeks ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.0 CE RC6