Skip to content

Glossary: MongoDB

Index

Also written: indexes

A sorted list of a field's values pointing at the documents that hold them, so the server can jump to matches instead of reading everything. Each index costs space and slows writes.

Where the book teaches it

Related terms

Compound indexUnique index