What problem does it solve?
Helps MongoDB users choose, implement, and optimize Atlas lexical search, Vector Search, and Hybrid Search so applications return relevant results for keyword, fuzzy, autocomplete, and semantic queries without wasting compute or misconfiguring indexes.
Core Features & Use Cases
- Search type guidance: Recommends when to use Atlas Search (lexical), Vector Search (semantic), or Hybrid patterns (rankFusion / scoreFusion / lexical prefilters).
- Index and query recipes: Provides index JSON examples, field-type guidance (vector/filter/token/autocomplete), analyzer and storedSource recommendations, and aggregation pipeline patterns for $vectorSearch, $search, $rankFusion, and $scoreFusion.
- Optimization & safety: Covers cluster version checks for fusion stages, numCandidates tuning, quantization and hnswOptions trade-offs, pre-filter vs post-filter guidance, and anti-patterns to avoid (e.g., $regex/$text for search).
- Use Case Example: Build a RAG-enabled search that prefilters by genre, uses a dotProduct vector index for normalized embeddings, and fuses lexical title matches with vector plot similarity for ranked results.
Quick Start
Configure a hybrid search for the target collection by proposing two index JSONs (one vector, one search-type with vector field or a vectorSearch-type index), name the indexes, and return the aggregation pipeline that uses either $rankFusion or $scoreFusion depending on desired scoring.