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

Solr Only - Filtering search results by a tag containing spaces doesn't work

    Details

      Description

      Steps to reproduce:

      1. Setup Liferay with Solr 4 (6.2.x)/Solr 5 (7.0.x, master)
      2. Add a blog entry named "Some Blog Entry" with the tag "tag with spaces"
      3. Add a blog entry named "New Blog Entry" with the tag "tagwithoutspaces"
      4. Search for "blog" using the search portlet
      5. Assert that both blog entries show up
      6. Filter results by "tagwithoutspaces"
      7. Assert that "New Blog Entry" shows up
      8. Filter results by "tag with spaces"

      Expected Result: Search results only shows "Some Blog Entry".

      Actual Result: No results are shown.

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.7.20
      Portal master Git SHA: 25481b6ce03aba6a3b9bfbe89f01cd1b389e2920
      Portal 7.0.x Git SHA: a1a5b047858f92685f1eb7dd7ff23e2c93571487


      Fixed by LPS-82004. Pull request for this ticket (LPS-77301) contains additional test coverage for Tag Facet selections with spaces, mirroring the steps to reproduce.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lu.liu Lu Liu
                Reporter:
                brian.lee Brian Lee
                Participants of an Issue:
                Recent user:
                Tibor Lipusz
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 3 days ago

                  Packages

                  Version Package
                  7.1.X
                  Master