File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -243,16 +243,10 @@ operation<sharding-mongos-broadcast>` to fulfill these queries.
243
243
Index Use
244
244
~~~~~~~~~
245
245
246
- If the query does not include the :term:`shard key`, the
247
- :binary:`~bin.mongos` must send the query to all shards as a
248
- "scatter/gather" operation. Each shard will, in turn, use *either* the
249
- shard key index or another more efficient index to fulfill the query.
250
-
251
- If the query includes multiple sub-expressions that reference the
252
- fields indexed by the shard key *and* the secondary index, the
253
- :binary:`~bin.mongos` can route the queries to a specific shard and the
254
- shard will use the index that will allow it to fulfill most
255
- efficiently.
246
+ When a shard receives a query, it uses the most efficient index
247
+ available to fulfill that query. The index used may be either the
248
+ :ref:`shard key index <sharding-shard-key-indexes>` or another eligible
249
+ index present on the shard.
256
250
257
251
Sharded Cluster Security
258
252
------------------------
You can’t perform that action at this time.
0 commit comments