Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-13816

Content Search - QueryBuilder doesn't support multiple FQ values for the same parameter name

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 14.3.0
    • None
    • None

    Description

      Hey,

      NHSD have a requirement of grouping certain document types together.
      For example they wish to group "publicationsystem:publication", "publicationsystem:legacypublication" & "publicationsystem:archive" into a single facet on the site "publication".

      To achieve this we can do it through the connect API with multiple FQ parameters in the search query e.g:
      &fq=xmPrimaryDocType:"publicationsystem:publication"&fq=xmPrimaryDocType:"publicationsystem:legacypublication"&fq=xmPrimaryDocType:"publicationsystem:archive"

       

      The com.onehippo.search.integration.impl.QueryBuilderImpl#filterQuery skips any duplicate FQ parameter names.

      Could this be changed to support multiple instances of the same FQ parameter but with a different value?

      This blocks the grouping of doctype facets for NHSD.

      Please let me know if you require any more information.

      Thanks
      Shane

      Attachments

        Activity

          People

            Unassigned Unassigned
            sahern Shane Ahern (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: