-
Type: Task
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: 5.0.0, 6.0.0, 7.1.0, 7.0.0
-
Labels:
-
2
Original Downstream Change Summary
We need to update the documentation to discourage users from running queries on the whole metaField when an the metaField is an object. They should instead rewrite the query on scalar sub-fields on the metaField.
For example, if the metaField is metadata:
{a: 1, b: 1}, then instead of running a query like find({metadata: {a: 1, b: 2}}), users should write it as find(
{'metadata.a': 1, 'metadata.b': 2}).
Description of Linked Ticket
null
- documents
-
SERVER-81523 Normalization of time-series meta field can break query
- Backlog