Skip to content

(DOCS-11033): Add limitation for 3.2 and earlier multikey indexes #4766

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 11, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions source/core/index-multikey.txt
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,20 @@ $expr

:query:`$expr` does not support multikey indexes.

Indexes Built on MongoDB 3.2 or Earlier
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Indexes built on MongoDB 3.2 or earlier do not contain the necessary
flags to support optimized multikey index use. To benefit from the
performance enhancements of multikey indexes, you must either:

- Rebuild the older-format indexes on MongoDB 3.4 or later. See
:method:`db.collection.reIndex()`.

- On a replica set, :doc:`resync the replica set members
</tutorial/resync-replica-set-member/>` containing older-format
indexes.

Examples
--------

Expand Down