Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
Docs Menu
Docs Home
/ /

How to Index Fields for Vector Search

A high index count generates significant load on the base cluster and might disrupt your workload. The hard limit for search indexes on a single cluster is 2,500. However, the number of indexes your cluster can support depends on your cluster tier and workload. Smaller cluster tiers like M10 might experience performance degradation or out-of-memory errors with far fewer indexes. Start with a small number of indexes and monitor your cluster's resource usage as you scale.

You need the Project Search Index Editor or higher role to view MongoDB Vector Search indexes.

After you edit an index, MongoDB Vector Search rebuilds it. While the index rebuilds, you can continue to run MongoDB Vector Search queries by using the old index definition. When the index finishes rebuilding, the old index is automatically replaced. This process is similar to MongoDB Search indexes. To learn more, see Creating and Updating a MongoDB Search Index.

You must have the Project Search Index Editor or higher role to delete a MongoDB Vector Search index.

Back

Manual

Earn a Skill Badge

Master "Vector Search Fundamentals" for free!

Learn more

On this page