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

    • 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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment