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

Content Search - com.onehippo.search.integration.api.QueryBuilder does not support 'sort'

    XMLWordPrintable

Details

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

    Description

      Hey,

      To order the search results we need to add the 'sort' parameter to the connect api.

      It's currently not possible to add the 'sort' parameter with the external search service queryBuilder.

      The format of the parameter is: 
       &sort=publicationDate+desc
      It's spilt into two parts of data; the property ('publicationDate') and the sort direction ('desc')
      https://documentation.bloomreach.com/search-and-merchandising/docs/milestone-4.-api-deployment/search-use-cases/sorting.html contains a sample request.
      The sort direction is either 'asc' or 'desc'.

      This blocks the Date sorting on the NHSD search.

      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: