From 803630ce48c22148f9fec5f32c0f575109084cdd Mon Sep 17 00:00:00 2001 From: Jake Angerman Date: Wed, 11 Feb 2015 13:06:00 -0600 Subject: [PATCH] Update query-optimization.txt The word "returned" implies that you can workaround this limitation using a projection, but in fact you cannot (per SERVER-2104). --- source/core/query-optimization.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/query-optimization.txt b/source/core/query-optimization.txt index d885915b71e..5c4f48d7db1 100644 --- a/source/core/query-optimization.txt +++ b/source/core/query-optimization.txt @@ -144,7 +144,7 @@ An index **cannot** cover a query if: a :ref:`multi-key index ` index and cannot support a covered query. -- any of the returned indexed fields are fields in subdocuments. +- any of the indexed fields are fields in subdocuments. [#index-embedded-document-fields]_ For example, consider a collection ``users`` with documents of the following form: