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

Add sort Streaming Expression

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 6.1, 7.0
    • None
    • None

    Description

      The sort Streaming Expression does an in memory sort of the Tuples returned by it's underlying stream. This is intended to be used for sorting sets gathered during local graph traversals. This will make it easy to gather sets during a traversal and use all of the sort based set operations (merge, innerJoin, outerJoin, reduce, complement, intersect).

      This will be particularly useful with the gatherNodes expression (SOLR-8925). Sample syntax:

      intersect(
             sort(gatherNodes(...), "fieldA asc"),
             sort(gatherNodes(...), "fieldA asc"),
             on)
      

      Attachments

        1. SOLR-8962.patch
          9 kB
          Dennis Gove
        2. SOLR-8962.patch
          11 kB
          Dennis Gove

        Issue Links

          Activity

            People

              dpgove Dennis Gove
              jbernste Joel Bernstein
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: