-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
None
-
None
-
None
-
None
-
None
-
None
-
None
It would be useful to allow queries to require some index to support them, without requiring the query author to specify which index applies. This would let application authors test their queries for index support without having to set `notablescan` in the server configuration (which they often can’t due to access restrictions).
Such a control could become standard advice for new code: set `hint: "anyIndex"` unless you know the query doesn’t need an index (e.g., if the collection is small).
- is related to
-
SERVER-123044 Allow users to specify QuerySettings directly to the command
-
- Closed
-