Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-26153

Order $graphLookup results by ascending depth from the source node

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • Labels:
    • Query Execution

      Results array of the $graphLookup should be in order from the first node to the last(from closest nodes) . Currently, it's in reversed order.

      Also, Output example in implementation ticket SERVER-23725 is incorrect order.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            zamaraevk@gmail.com Konstantin Zamaraev
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: