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

Specifying the analyzer doesn't affect Similar Results output

    Details

      Description

      Steps to reproduce:

      1. Create three web content with the following titles:
        1. 2 Brown Foxes
        2. 2 Yellow Cats
        3. Brown Cats
      2. Add Similar Results and Asset Publisher to the page
      3. Make the following changes to Similar Results configuration:
        1. Fields: title_en_US
        2. Minimum Document Frequency: 1
        3. Minimum Term Frequency: 1
        4. Analyzer: simple
      4. Click on "2 Brown Foxes" in Asset Publisher

      Expected result:
      Expected only "Brown Cats" to be returned as a similar result

      Actual result:
      "2 Yellow Cats" is also returned as a similar result

      With the Simple Analyzer, "2" should not be considered a term since it is not a letter.
      Documentation on Simple Analyzer

      Reproduced on:
      Tomcat 9.0.17 + MySQL 5.7
      Portal master GIT ID: 476dcff79837e682f4c2244c49b20d45a7c39475

        Attachments

          Activity

            People

            • Assignee:
              timothy.pak Timothy Pak
              Reporter:
              timothy.pak Timothy Pak
              Participants of an Issue:
              Recent user:
              Jason Pince
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.3.0 CE GA1
                7.3.1 CE GA2
                7.3.2 CE GA3
                Master