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 pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More MongoDB interview questions

View all →