Skip to content

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

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

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

@imotov
imotov marked this pull request as ready for review August 22, 2026 02:17
@imotov
imotov requested a review from a team as a code owner August 22, 2026 02:17
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