This guide covers the core concepts for full-text retrieval, semantic retrieval, and AI integration workflows.Documentation Index
Fetch the complete documentation index at: https://mongodb-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Atlas Search
Atlas Search provides relevance-ranked full-text retrieval over operational data. Typical usage includes autocomplete, faceting, stemming, synonym expansion, and scoring customization. Use Atlas Search when you need:- Low-latency lexical search in user-facing experiences
- Rich query operators for relevance tuning
- Search indexes that evolve independently from primary schema changes
Vector Search Overview
Vector Search enables semantic retrieval by comparing embedding vectors using approximate nearest neighbor techniques. This is useful for retrieval-augmented generation (RAG), semantic recommendations, and multimodal search. Typical workflow:- Generate embeddings for source documents.
- Store vectors with metadata in MongoDB.
- Query with a vector + metadata filters.
- Rerank or post-filter before response generation.
AI Integrations
AI integrations connect MongoDB data to orchestration layers, model providers, and observability stacks. Production systems usually combine:- Structured filtering in MongoDB
- Semantic candidate retrieval
- Model generation with citations and policy controls