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

Faceted search for tags expect terms to be sorted by count

    Details

      Description

      When faceted search for tags is set up to return tag terms in alphabetical order (stock Search portlet), not all tags passing the frequencyThreshold will be displayed, even when we haven't already displayed 'maxTerms' count of terms (10 by default.

      Example:
      (1) setup tag facet terms to be "frequencyThreshold: 1", "order: 'OrderValueAsc'" and "maxTerms: 10".
      (2) have tag terms returned for a query like ("<tagname> : frequency"):

      aaa: 0
      bbb: 0
      ccc: 0
      ddd: 3
      eee: 0
      fff: 0
      ggg: 1
      hhh: 0
      iii: 0
      jjj: 2
      kkk: 1
      lll: 0
      mmm: 3
      nnn: 2

      Results: You'll see this in Tags' facet on the left:
      ddd: 3
      ggg: 1
      jjj: 2

      The tags "kkk", "mmm" and "nnn" will not be listed, even when we haven't rendered 10 tags yet and they meet the frequencyThreshold.

        Attachments

          Activity

            People

            Assignee:
            michael.han Michael Han (Inactive)
            Reporter:
            josef.sustacek Josef Šustáček
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 years, 9 weeks ago

                Packages

                Version Package
                7.0.0 M6