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 @@ -313,16 +313,10 @@ operation<sharding-mongos-broadcast>` to fulfill these queries.
313
313
Index Use
314
314
~~~~~~~~~
315
315
316
- If the query does not include the :term:`shard key`, the
317
- :binary:`~bin.mongos` must send the query to all shards as a
318
- "scatter/gather" operation. Each shard will, in turn, use *either* the
319
- shard key index or another more efficient index to fulfill the query.
320
-
321
- If the query includes multiple sub-expressions that reference the
322
- fields indexed by the shard key *and* the secondary index, the
323
- :binary:`~bin.mongos` can route the queries to a specific shard and the
324
- shard will use the index that will allow it to fulfill most
325
- efficiently.
316
+ When a shard receives a query, it uses the most efficient index
317
+ available to fulfill that query. The index used may be either the
318
+ :ref:`shard key index <sharding-shard-key-indexes>` or another eligible
319
+ index present on the shard.
326
320
327
321
Sharded Cluster Security
328
322
------------------------
You can’t perform that action at this time.
0 commit comments