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

Missing some results when searching with synonyms that contain quotes

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.2.X, Master
    • Fix Version/s: None
    • Component/s: Search Infrastructure
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Add a web content article titled "stable" (include the quote characters in the title)
      2. Add a web content article titled git hash
      3. Add a web content article titled upstream
      4. In the Control Panel > Configuration > Search Tuning portlet, add the following synonym set: "stable", git hash
      5. In the home page embedded search bar, search for "stable" (quotes included)

        Observed behavior: The "stable" and git hash web content articles appear in the search results

      6. In the Control Panel > Configuration > Search Tuning portlet, edit the same synonym set added earlier, delete synonym git hash, and add the synonym git has (intentionally leave out the last 'h')
      7. Back at the home page, search for git has (intentionally leave out the last 'h')

        Observed behavior: The "stable" and git hash web content articles appear in the search results

      8. Search for "stable" (quotes included)

        Expected Result: The "stable" and git hash web content articles appear in the search results
        Actual Result: Only "stable" appears in the search results

      9. In the Control Panel > Configuration > Search Tuning portlet, add the following synonym set: upstream, git has (leave out the last 'h')
      10. Back on the home page, search for upstream

        Observed behavior: The upstream and git hash web content articles appear in the search results

      Tested on:
      Portal master-private Git SHA: dc8569b9fc300e51f0077992555820e4c9e7c244
      Portal 7.2.x-private Git SHA: 350296f49e64c44d789c00bee1e4833c10d38cd3

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                joshua.chong Joshua Chong
                Participants of an Issue:
                Recent user:
                Joshua Chong
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  13 weeks, 2 days ago

                  Packages

                  Version Package