seniorMongoDB
What is an 'Inverse' index or Multikey Index?
Updated May 1, 2026
Short answer
A multikey index is an index created on a field that contains an array.
Deep explanation
MongoDB creates an index entry for every element in the array. This allows efficient querying for documents containing specific array elements.
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro