Repository navigation
docs: document batch vector queries and shared IVF_RQ rotation for merges - #11467
Merged
Xuanwo merged 1 commit intoNov 30, 2026
Merged
Conversation
…rges Add a Batch Queries section to the vector search guide (Python, Rust, Java), correct the quickstart's batch paragraph now that adaptive probes share partition scans, and note in the distributed indexing guide that mergeable IVF-RQ segments need one shared rotation model, with the measured query cost of unmerged segments. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Xuanwo
approved these changes
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
guide/vector_search.md: new Batch Queries section with Python (2-Dq), Rust (list-array query) and Java (Query.Builder.setKeys) examples. It covers thequery_indexcolumn, howlimit/offsetapply, and the cases that search each query separately. The list followsbatch_index_search_supportedindataset/scanner/vector.rs.quickstart/vector-search.md: the batch paragraph said adaptive probes use per-query execution. Since perf(vector): support adaptive nprobes in shared-scan batch IVF search #10443 they share partition scans, except on IVF_RQ. The paragraph now points to the guide for the remaining cases.guide/distributed_indexing.md: mergeable IVF-RQ segments need one shared rotation model (rabitq_modelfrombuild_rq_model, orRQBuildParams.Builder.setModelin Java); the merge error has named this since fix(index): name the differing field when IVF_RQ segments cannot be merged #11462. The section also adds the measured query cost of unmerged segments, from the fix(index): name the differing field when IVF_RQ segments cannot be merged #11462 benchmark.Validation
query_indexis the first column (int32, no nulls), 10 rows per query, andlimit=5returns 5 rows in total.query_indexis the first column, 20 rows for 2 queries.VectorSearchTest../clean-full-website.sh && uv run mkdocs build --strictpasses, and the#batch-querieslink resolves.🤖 Generated with Claude Code