Summary
What is the problem or use case, what are we trying to achieve?
**
Nested Vector Search (nestedRoot, DRIVERS-3308) and Automated Embeddings
(autoEmbed, DRIVERS-3389/3315) are each independently supported, but the
combination – an autoEmbed vector field living inside a
nestedRoot array – has no dedicated builder support. Today this only
works via raw BSON index/query documents.
Motivation
Who is the affected end user?
Who are the stakeholders?
Developers building RAG/chunking use cases who want MongoDB to
auto-generate embeddings for nested/chunked content.
How does this affect the end user?
Are they blocked? Are they annoyed? Are they confused?
Users of statically typed languages can't construct this index/query shape
through builders and must drop to plain BSON,
How likely is it that this problem or use case will occur?
Main path? Edge case?
Likely for any customer combining nested embeddings with automated
embeddings . There will be forthcoming support for auto-chunking with Voyage context models that will predominantly use this path. See autoEmbeddings driver tickets for frequency of use of autoemebddings through various drivers.
If the problem does occur, what are the consequences and how severe are they?
Minor annoyance at a log message? Performance concern? Outage/unavailability? Failover can't complete?
Is this issue urgent?
Does this ticket have a required timeline? What is it?
Ideal to have for autoembeddings GA. If not, definitely required before support for auto-chunking with autoembedding.
Is this ticket required by a downstream team?
Needed by e.g. Atlas, Shell, Compass?
Yes, LangChain/LangGraph integration work depends on this
landing in at least one reference language first
Is this ticket only for tests?
Is this ticket have any functional impact, or is it just test improvements?
Cast of Characters
Engineering Lead: chunbin.lin@mongodb.com
Document Author:
POCers:
Product Owner: margaret.matern@mongodb.com
Program Manager:
Stakeholders:
Channels & Docs
Slack Channel
https://docs.google.com/document/d/1AVODSkJemkIKuSgbnqit_uxhJk2-7kT_UVLnqR4NJos/edit?tab=t.0#heading=h.kvsg5knomldr
Scope
- is related to
-
DRIVERS-3308 MongoDB Vector Search now supports vector search against nested embeddings and arrays of embeddings.
-
- In Progress
-
-
DRIVERS-3389 [Driver] Add new fields for Auto embedding in Atlas Vector search indexes
-
- Implementing
-
- split to
-
INTPYTHON-1035 Ensure compatibility bw autoEmbedding indexes with nestedRoot fields
-
- Needs Triage
-
-
CSHARP-6151 Ensure compatibility bw autoEmbedding indexes with nestedRoot fields
-
- Execution Blocked
-
-
JAVA-6269 Ensure compatibility bw autoEmbedding indexes with nestedRoot fields
-
- Execution Blocked
-
-
PHPLIB-1923 Ensure compatibility bw autoEmbedding indexes with nestedRoot fields
-
- Execution Blocked
-