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
Attachments
Issue Links
- relates to
-
SOLR-8925 Add gatherNodes Streaming Expression to support breadth first traversals
- Closed