Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
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:
- Any hint provided affects only the initial document source. It will not be applied for subsequent queries performed by $lookup and $graphLookup.
- Hint behavior is in line with what we have today for the find command.
Attachments
Issue Links
- documents
-
SERVER-27848 Add index hint to aggregation and non-materialized views
-
- Closed
-