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

Allow $count/$size in $graphLookup

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

      There are many times that you don't need to retrieve the documents from a graphLookup, you only want the number of resulting documents after performing the graphLookup stage, you are throwing away capacity in the process, if you after the graphLookup are going to do a $size operation.

      If the graphLookup could resolve in a number being this number the count of the resulting documents, could be way more easy to retrieve the needed data without having to use so many resources.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            jgl Jose
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: