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

Adding synonym sets removes search results for fully localized entities when searching with stop words

Details

    Description

      Steps to reproduce:

      1. Create two Web Content Articles titled: thing with words, for you
      2. On the home page, search for thing with words, then search for for you
        Observed behavior: The web content articles appear in the search results for their respective queries.
      3. Add a new Search Tuning > Synonym Set: thing with wordsphrase
      4. Add another Synonym Set: for you, letter
      5. On the home page, search for thing
        Observed behavior: The web content article thing with words appears in the search results.
      6. Search for thing with words, then search for phrase
        Expected result: The web content article thing with words appears in both search results.
        Actual result: Nothing is returned in both search results.
      7. Search for for you, then search for letter
        Expected result: The web content article for you appears in both search results.
        Actual result: Nothing is returned in both search results.

      Note: This is reproducible using Categories as well which is another fully localized entity. This is NOT reproducible for non-localized entities (e.g. Documents and Media, Blogs, Message Boards, etc)

      Reproduced on:
      Portal master Git commit: 5768543decf42efba87f23f0bc6a08f4152cd1a7
      Portal 7.2.x Git commit: 6eaecf2e61368116b25d3c678b286cfbd26aa4dc

      Attachments

        Issue Links

          Activity

            People

              support-lep@liferay.com SE Support
              joshua.chong Joshua Chong
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                3 years, 16 weeks, 2 days ago

                Packages

                  Version Package