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

3.6: Addition of hint to aggregation

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6, 3.5.3
    • Component/s: API, Server
    • Labels:
      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

              Assignee:
              kay.kim Kay Kim (Inactive)
              Reporter:
              james.wahlin James Wahlin
              Participants:
              Last commenter:
              Byron Grogan Byron Grogan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                4 years, 13 weeks, 3 days ago
                Date of 1st Reply: