Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-16485

Investigate changes in SERVER-81523: Normalization of time-series meta field can break query

    • 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

            Assignee:
            lauren.tran@mongodb.com Lauren Tran
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              13 weeks, 1 day ago