You are viewing an offline version of MongoDB documentation. Some page features might be unavailable. To view the latest version of the page or use interactive features, visit the live page.
2d indexes let you query and perform calculations on location data on a flat surface. For examples of queries using 2d indexes, see: