Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9854

3.6: Addition of hint to aggregation

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6, 3.5.3
    • API, Server
    • None

    Description

      A "hint" option has been added to the aggregate command which allows users to force index usage for an aggregation pipeline. We should update both the command and shell helper documentation to reflect. It is worth noting that:

      1. Any hint provided affects only the initial document source. It will not be applied for subsequent queries performed by $lookup and $graphLookup.
      2. Hint behavior is in line with what we have today for the find command.

      Attachments

        Issue Links

          Activity

            People

              kay.kim@mongodb.com Kay Kim (Inactive)
              james.wahlin@mongodb.com James Wahlin
              Byron Grogan Byron Grogan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 3 weeks, 5 days ago