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

Add arraySort Stream Evaluator

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • None
    • 6.7, 7.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: