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

Facets where the fields contain spaces in values returns no results on Solr

    Details

      Description

      Steps to Reproduce - master/7.1.x:

      1. Set up Solr as the search engine
      2. Create a web content article with the title foo
      3. Add a search bar portlet, search results portlet, and custom facet portlet to a page
      4. Go to the custom facet portlet configuration and set userName as the field to aggregate on
      5. Search for foo
      6. Select the checkbox that contains the user name of the article's creator in the custom facet portlet

      Steps to Reproduce - 7.0.x

      1. Set up Solr as the search engine
      2. Create a web content article with the title foo
      3. Search for foo
      4. Select test test under the User Facet

      Expected Result:
      Search results would still be visible

      Actual Result:
      0 search results show up in the search results portlet

      Reproduced on master - 16054e8

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  39 weeks, 6 days ago

                  Packages

                  Version Package
                  7.1.X
                  Master