Skip to content

Commit 13c6b14

Browse files
committed
DOCS-12109: compound index field limit
1 parent 31b0199 commit 13c6b14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/core/index-compound.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ example of a compound index on two fields:
2222
.. include:: /images/index-compound-key.rst
2323

2424
.. [#compound-index-field-limit]
25-
MongoDB imposes a :limit:`limit of 31 fields for any compound index
25+
MongoDB imposes a :limit:`limit of 32 fields for any compound index
2626
<Number of Indexed Fields in a Compound Index>`.
2727

2828
Compound indexes can support queries that match on multiple fields.

source/reference/limits.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Indexes
169169

170170
.. limit:: Number of Indexed Fields in a Compound Index
171171

172-
There can be no more than 31 fields in a compound index.
172+
There can be no more than 32 fields in a compound index.
173173

174174
.. limit:: Queries cannot use both text and Geospatial Indexes
175175

0 commit comments

Comments
 (0)