Skip to content
Glossary

MongoDB Vector Search

The process of transforming content into vector embeddings and storing them in MongoDB Atlas Search vector indexes with metadata for efficient similarity search.

Synonyms: mongodb embedding, vector indexing, semantic indexing, atlas search vectors

MongoDB vector search indexing starts with chunked normalized content. Each chunk is embedded (e.g., with Gemini or OpenAI embeddings), then stored in a MongoDB collection with a vector search index. Rich metadata (tenant, locale, access tier, timestamps) enables downstream filtering and access control. Versioning embedding models and storing hashes support reproducibility and drift detection. Regular differential re-indexing ensures freshness without reprocessing unchanged pages.

Frequently asked questions

Why use MongoDB Atlas Search for knowledge retrieval?
MongoDB Atlas Search provides fast vector similarity search with the ability to combine vector and traditional queries, integrated metadata filtering, and seamless scaling within your existing MongoDB infrastructure.
What metadata matters?
Store tenant ID, language, URL, content hash, updated timestamp, and model version to enable filtering, freshness checks, and controlled reindexing.