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

3.6: Addition of hint to aggregation

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.6, 3.5.3
    • None
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 21 weeks, 6 days ago