Uploaded image for project: 'Providence'
  1. PROV-2872

Support multilevel, multidirection sorting of search results

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects versions: 1.7
    • Fix versions: 1.7.9
    • Components: search
    • Labels:
      None

      Description

      It is currently possible to sort search results on multiple fields, but when sorting is performed in memory (for sets of 1,000,000 items or less) only a single sort direction is possible – all fields are are either ascending or descending.

      We need to extend in-memory sorting to allow for multiple directions. It should also be possible to embed the direction of the sort in the sort field string if desired. A way to do this would be to allow specification of direction after the field, separated by a colon. Ex:

      ca_objects:idno:desc;ca_objects.preferred_labels.name:asc

        Attachments

          Activity

            People

            • Assignee:
              Seth
              Reporter:
              Maria Passarotti
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: