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

Add sort Streaming Expression

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1, 7.0
    • Component/s: None
    • Labels:
      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

        Issue Links

          Activity

            People

            • Assignee:
              dpgove Dennis Gove
              Reporter:
              jbernste Joel Bernstein

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment