Allow #aggregates API to pass hint to server

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Query
    • None
    • None
    • Ruby Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      From GitHub PR: https://github.com/mongodb/mongoid/pull/6019

      MongoID aggregates dont propagate the hint passed in the criteria, into the pipeline aggregate.

      This causes the query to ignore the hint and use an index decided by the planner, which is not ideal for the cases where the user intentionally passed a certain hint.

              Assignee:
              Jamis Buck
              Reporter:
              Jamis Buck
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: