Skip to content

Commit 9dcd551

Browse files
author
Dave Cuthbert
authored
DOCS-14205 BACKPORT (#1545)
1 parent e95b1a1 commit 9dcd551

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

source/includes/extracts-parent-fact-covered-query-sharded-collection.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,7 @@ content: |
88
99
Starting in MongoDB 3.0, an index cannot {{cover}} a query on a
1010
:term:`sharded <shard>` collection when run against a
11-
:binary:`~bin.mongos` if the index does not contain the shard key,
12-
with the following exception for the ``_id`` index: If a query on a
13-
sharded collection only specifies a condition on the ``_id`` field
14-
and returns only the ``_id`` field, the ``_id`` index can cover the
15-
query when run against a :binary:`~bin.mongos` even if the ``_id``
16-
field is not the shard key.
11+
:binary:`~bin.mongos` if the index does not contain the shard key.
1712
1813
In previous versions, an index cannot :ref:`cover <covered-queries>`
1914
a query on a :term:`sharded <shard>` collection when run against a

0 commit comments

Comments
 (0)