Skip to content

fix(mongodb-constants): remove numCandidates and exact from $vectorSearch stage CLOUDP-422729 - #924

Open
JimmyChoiMDB wants to merge 1 commit into
mainfrom
CLOUDP-422729
Open

JimmyChoiMDB wants to merge 1 commit into
mainfrom
CLOUDP-422729

Conversation

@JimmyChoiMDB

@JimmyChoiMDB JimmyChoiMDB commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Description

Removes numCandidates and exact from the $vectorSearch stage docs and snippets in mongodb-constants, for both the standard stage and VECTOR_SEARCH_AUTO_EMBED_STAGE. Snippet tab-stop placeholders are renumbered to match.

Copilot AI balanced review requested due to automatic review settings October 7, 2026 23:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused changes consistently remove both fields and preserve valid sequential placeholders.

0 open findings

What changed in this PR

Removes obsolete $vectorSearch fields from MongoDB completion documentation and snippets.

Changes:

  • Removed numCandidates and exact.
  • Renumbered snippet placeholders.
File Description
packages/​mongodb-constants/​src/​stage-operators.ts Updates standard and auto-embed vector search completions.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@JimmyChoiMDB
JimmyChoiMDB marked this pull request as ready for review October 8, 2026 00:09
@JimmyChoiMDB
JimmyChoiMDB requested review from a team as code owners October 8, 2026 00:09
@JimmyChoiMDB
JimmyChoiMDB requested a review from nbbeeken October 8, 2026 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants