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

Solr: in exact phrase queries (double quotes), stopwords being replaced with question marks, causing mismatches

    Details

      Description

      Steps to Reproduce

      Evidence A

      1. Start Liferay with Solr 4 Search Engine EE Web configured and functioning.
      2. Create web content (or any asset) named:
        how to create a coupon
      3. Search for:
        how to create a coupon
        Expected: Solr will return the results, matching on how OR create OR coupon, but not the stopwords (to and a).
        Observed: as expected.
      4. Search for the exact phrase: (with double quotes)
        "how to create a coupon"
        Expected: Results should match the web content just created.
        Observed: No matches found.

      Evidence B

      1. Create web content (or any asset) named:
        how ? create ? coupon
      2. Search for the exact phrase: (with double quotes)
        "how to create a coupon"
        Expected: No matches should be found.
        Observed: Results match the web content just created.

        Attachments

          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, 3 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M3