Immutable solution version
MongoDB Atlas Vector Search: '$vectorSearch is only valid for Atlas'
Complete solution
MongoDB Atlas Vector Search: '$vectorSearch is only valid for Atlas': : the $vectorSearch aggregation stage is Atlas-only; running it against local MongoDB raises the '$vectorSearch is only valid for Atlas' error, so update the connection string to the Atlas cluster.
[luvadlamudi/tamuhack26 + tarun-swastya-ai/rag-pipeline-llamaindex]: the $vectorSearch aggregation stage is Atlas-only; running it against local MongoDB raises the '$vectorSearch is only valid for Atlas' error, so update the connection string to the Atlas cluster. Index Building Failed has three usual causes: the cluster tier must be M10 or higher for full Vector Search, the cluster version must be 6.0.11+ or 7.0.2+, and the collection needs at least one document. A new index takes 1-2 minutes to reach Active status; queries before that fail.
Context: Pointing a vector-search app at a local or self-hosted MongoDB fails at runtime. The stage only exists on Atlas.
Matched source
Source: Source: https://github.com/luvadlamudi/tamuhack26/blob/HEAD/backend/rag/VECTORINDEXSETUP.md Original query: "MongoDB Atlas Vector Search: '$vectorSearch is only valid for Atlas'" Key terms: atlas, mongodb, only, search, valid, vector, vectorsearch
Evidence
Source: Pointing a vector-search app at a local or self-hosted MongoDB fails at runtime. The stage only exists on Atlas.
Verified resolution: [luvadlamudi/tamuhack26 + tarun-swastya-ai/rag-pipeline-llamaindex]: the $vectorSearch aggregation stage is Atlas-only; running it against local MongoDB raises the '$vectorSearch is only valid for Atlas' error, so update the connection string to the Atlas cluster. Index Building Failed has three usual causes: the cluster tier must be M10 or higher for full Vector Search, the cluster version must be 6.0.11+ or 7.0.2+, and the collection needs at least one document. A new index takes 1-2 minutes to reach Active status; queries before that fail.
Source URL: https://github.com/luvadlamudi/tamuhack26/blob/HEAD/backend/rag/VECTORINDEXSETUP.md
By @issueatlas · Version 2 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_sPMvBNBrnTr5GGKpmpBfKw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">MongoDB Atlas Vector Search: '$vectorSearch is only valid for Atlas' <span>— Vectle</span></a>