Skip to content

Update Vector Sets docs to reflect current main behavior - #2103

Merged
Badrish Chandramouli (badrishc) merged 1 commit into
mainfrom
badrishc/update-vector-set-docs
Sep 4, 2026
Merged

Update Vector Sets docs to reflect current main behavior#2103
Badrish Chandramouli (badrishc) merged 1 commit into
mainfrom
badrishc/update-vector-set-docs

Conversation

@badrishc

Copy link
Copy Markdown
Collaborator

Updates the outdated Vector Sets command documentation to match the current behavior on main.

This is a docs-only PR. It cherry-picks the subset of doc changes from the draft #1992 that are already true on main, and deliberately excludes the parts of that draft that depend on its unmerged code.

Included (verified against main)

  • Removed the stale ~15 concurrent Vector Sets cap (Cluster section + Limits table). The actual limit is uint.MaxValue contexts / ContextStep (8) ≈ 500 million (VectorManager.cs, VectorManager.ContextMetadata.cs).
  • Input form tokens now documented as XU8 / XI8 (XB8 remains a backwards-compat alias in the parser).
  • Quantization table/options updated to reflect all supported quantizers — NOQUANT, Q8, BIN, XNOQUANT_U8, XNOQUANT_I8, XBIN_U8, XBIN_I8 — with Q8 as the default. Dropped the stale "Q8/BIN rejected" and "default Q8 fails" notes. The XNOQUANT_* / XBIN_* variants are correctly noted as incompatible with REDUCE (RespServerSessionVectors.cs).
  • Removed VCARD and VISMEMBER from "Not Yet Implemented" — both are fully functional on main.

Deliberately excluded (not true on main)

  • VLINKS and VRANDMEMBER remain in "Not Yet Implemented" — they are still // TODO: implement! stubs that return +OK on main.
  • All dev/vector-sets.md FFI changes from Update DiskANN FFI #1992 (e.g. logCallback, valueLengthHint, search_neighbors, random_members, beam_width, in-place filter callback) correspond to that PR's unmerged code and are not present on main.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Cherry-picks the subset of doc changes from #1992 that are already true on
main:
- Remove the outdated ~15 concurrent Vector Sets cap (Cluster + Limits);
  the real limit is uint.MaxValue contexts / ContextStep(8) ~ 500 million.
- Use XU8/XI8 input form tokens (XB8 remains a backwards-compat alias).
- Document the supported quantizers (NOQUANT, Q8, BIN, XNOQUANT_U8/I8,
  XBIN_U8/I8) with Q8 as the default; drop the stale 'Q8/BIN rejected'
  and 'default Q8 fails' notes.
- Drop VCARD and VISMEMBER from 'Not Yet Implemented' (both are functional
  on main). VLINKS and VRANDMEMBER remain listed since they are still
  +OK stubs on main.

Excludes the FFI/dev-doc changes from #1992, which correspond to unmerged
code (logCallback, valueLengthHint, search_neighbors, random_members, etc.).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 4, 2026 20:56

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.

🟡 Changes recommended

Input tokens, REDUCE restrictions, and the maximum Vector Set count remain inaccurate.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates Vector Sets documentation to reflect current command behavior.

Changes:

  • Documents current vector formats and quantizers.
  • Updates command implementation status.
  • Revises the concurrent Vector Set limit.
File summaries
File Description
website/docs/commands/vector-sets.md Updates Vector Set syntax, quantization, command status, and limits.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 3
  • Review effort level: Balanced

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

Comment thread website/docs/commands/vector-sets.md
Comment thread website/docs/commands/vector-sets.md
Comment thread website/docs/commands/vector-sets.md
@badrishc
Badrish Chandramouli (badrishc) merged commit 825b735 into main Sep 4, 2026
17 checks passed
@badrishc
Badrish Chandramouli (badrishc) deleted the badrishc/update-vector-set-docs branch September 4, 2026 21:33
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.

3 participants