Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10813

Add arraySort Stream Evaluator

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: None
    • Fix Version/s: 6.7, 7.0
    • Component/s: None
    • Labels:
      None

      Description

      The arraySort Stream Evaluator sorts an array of numbers by the natural sort order. To reverse the sort you can simply reverse the array with the reverse function.

      Syntax:

      b = arraySort(colA)
      c = rev(b)
      

        Attachments

        1. SOLR-10813.patch
          6 kB
          Joel Bernstein

          Issue Links

            Activity

              People

              • Assignee:
                jbernste Joel Bernstein
                Reporter:
                jbernste Joel Bernstein
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: