← back to clip · use your browser's Print / Save as PDF (Ctrl+P).

Doc issues

by anon · 2026-06-03 15:39:24

You 🧑

It looks like you had to search a bunch of sources to find information. Is there anything that could be improved in the mongo docs to make this easier?

Assistant 🤖

Great question! Yes, I had to piece this together from multiple sources (product update page, blog post, API spec, a third-party site). Here's what I think could be improved:


Issues I ran into

1. No dedicated docs page for nested embeddings yet

The feature is in Public Preview (since April 30), but there's no page in the main docs like atlas-vector-search/nested-embeddings/. The product update and blog post are great for announcements, but they're not where I'd naturally look for a reference example. I'd expect to find it under the Vector Search section of the Atlas docs next to "Run Vector Search Queries" or "How to Index Fields for Vector Search."

2. Missing a complete, copy-pasteable index definition JSON

The product update says "Add a nestedRoot field to a vector search index definition" — but it doesn't show the actual JSON. The blog post is full of great conceptual info but also lacks a concrete code block showing the full index definition. The API reference mentions nestedRoot as a string property but again, no example showing how fields, nestedRoot, and numDimensions/similarity fit together.

3. No example of the $vectorSearch query syntax with scoreMethod

The blog post mentions max and avg scoring but doesn't show the actual aggregation pipeline stage syntax. I had to infer the query shape from context. A code block showing:

$vectorSearch: {

index: "nested_idx",

path: "embedding",

queryVector: [...],

numCandidates: 100,

limit: 10,

scoreMethod: "max"

}

would have saved me 5+ searches.

4. No mention of nestedRoot on the existing vector search index type page

The page at /docs/atlas/atlas-vector-search/vector-search-type/ (which should document how to define vector search indexes) doesn't mention nestedRoot at all. That's where I'd naturally look first for index definition syntax.


What would help

Gap

Fix

Missing doc page

Add a "Nested Embeddings" page under the Vector Search section

No example JSON

Show a full index definition with nestedRoot + fields + type: "vector"

No query example

Show $vectorSearch with scoreMethod in the aggregation pipeline

Scattered info

Cross-link from the blog post, product update, and index type docs

Basically, the blog post does a great job explaining why you'd use it, but the docs need a clear how-to page with working examples. The feature is useful enough that a developer shouldn't need to triangulate between 4 sources to figure out the index definition syntax!