Allow $meta projections inside subdocuments

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Query
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      > db.foo.find({$text:{$search:'hello'}},{"a.b":{$meta:"textScore"}})
      error: {
      	"$err" : "Can't canonicalize query: BadValue field for $meta cannot be nested",
      	"code" : 17287
      }
      

            Assignee:
            Backlog - Query Team (Inactive)
            Reporter:
            J Rassi (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: