File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,7 @@ content: |
8
8
9
9
Starting in MongoDB 3.0, an index cannot {{cover}} a query on a
10
10
: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.
17
12
18
13
In previous versions, an index cannot :ref:`cover <covered-queries>`
19
14
a query on a :term:`sharded <shard>` collection when run against a
You can’t perform that action at this time.
0 commit comments