Skip to content

Merge CAGRA indexes on the GPU instead of rebuilding from vectors - #2497

Draft
imotov wants to merge 1 commit into
NVIDIA:mainfrom
imotov:issue-1078-expose-proper-merge
Draft

Merge CAGRA indexes on the GPU instead of rebuilding from vectors#2497
imotov wants to merge 1 commit into
NVIDIA:mainfrom
imotov:issue-1078-expose-proper-merge

Conversation

@imotov

@imotov imotov commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

mergeOneField now hands the segments' CAGRA indexes to the cuVS merge API, falling back to the vector based merge when the merged rows cannot be lined up with the merged flat vectors. Deleted documents are dropped through a row, which needs a new CagraIndex.merge overload taking a BitSet. Also cleans up some merge overloads on CuVSProvider and CagraIndex.

Closes #1078

mergeOneField now hands the segments' CAGRA indexes to the cuVS merge API,
falling back to the vector based merge when the merged rows cannot be lined
up with the merged flat vectors. Deleted documents are dropped through a
row, which needs a new CagraIndex.merge overload taking a BitSet. Also
cleans up some merge overloads on CuVSProvider and CagraIndex.

Closes NVIDIA#1078
@copy-pr-bot

copy-pr-bot Bot commented Aug 21, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@imotov imotov added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Aug 21, 2026
@imotov

imotov commented Aug 21, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test b16e36c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEA] merge() Java API for Tiered Index

1 participant