Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1649

Allows hints when multiple indexes are used

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.6.1
    • Component/s: Querying
    • Labels:
    • Query Execution

      Currently for $or specifying a hint is ambiguous since more than one index can be used. It would be nice to have a syntax to specify a hint of/for multiple indexes.

      I have no idea how to do this; Maybe you could specify a list and the query optimizer will try to the choose per query clause...

      As the query optimizer gets more complex (and more than one index can be used per query) this is only going to become more of an issue.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            17 Vote for this issue
            Watchers:
            30 Start watching this issue

              Created:
              Updated: