graphLookup to include 'endWith' and recursive lookup to stop

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Just the way we have "startWith", it adds more power to graphLookup to have "endWith".

      Expected behaviour should be, to check the value provided in "endWith" with "connectsToField" and stop recursive lookup and record the depth in "depthField".

      The depth at which the match was found could be much lesser than "maxDepth".

      I find this would be a handy feature to check the relation between 2 known points. For example:

      • How person 'A' is related person 'B' in the organisational hierarchy
      • Find the airline routes between 2 ports with specified stopovers

              Assignee:
              Mark Agarunov (Inactive)
              Reporter:
              Sravan Battala
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: