- Documentation
Document Database for MongoDB
User guide
AI capabilities
Vector search
Creating auto-embedding vector index
Vector search
Creating auto-embedding vector index
Creating auto-embedding vector index
The auto-embedding vector index automatically generates vectors by calling the Ark Embedding model, eliminating the need for manual vector data maintenance. This topic describes how to create an auto-embedding vector index on the MongoDB console.
- You have created a MongoDB 8.3 or later instance and enabled the search feature. For specific procedures, refer to Creating instance.
- The instance status is Running. For more details about instance status, refer to Instance status.
- You have enabled the vector model service on the Ark console and obtained an API Key. For specific steps, refer to Getting Ark API Key.
tip
Currently, MongoDB 8.3 is in the invitation-only testing phase. To use the auto-embedding vector search feature, submit a ticket to contact technical staff and apply for access. - In the top menu bar, select the project and region for the instance.
- Select either Replica set instances or Sharding instances in the left navigation bar depending on the instance type.
- On the target instance type list page, click the target instance name.
- On the instance details page, click the AI Capabilities tab.
- Under the Vector index sub-tab, click Createindex.
- On the Create vector index page, configure the following parameters.
- After completing the above configuration, click Next in the bottom-right corner to go to the index configuration page.
- After the index configuration is complete, click Next to confirm creation information such as basic information and auto embedding field configurations.
- After confirming, click OK to complete the index creation.
tip
Index creation is an asynchronous operation and takes some time to complete. It is recommended to search only after confirming the index status becomes READY. For more information about the index status, see $listSearchIndexes (Aggregation Stages).
Last updated: 2026.10.13 19:46:33