Repository navigation
[python] Add regression coverage for sparse IVF-PQ searches - #10726
Merged
Merged
Conversation
Use the existing Vindex batch API for single queries and singleton batches so filters containing live NULL vectors can return fewer hits than requested. Keep Python execution independent of the Native backend and preserve the existing score conversion and invalid-ID filtering. Add real SDK and deletion-vector regressions for sparse and empty results. Signed-off-by: QuakeWang <wangfuzheng0814@foxmail.com>
Sync merged CI baseline fixes and the current Native search API. Keep the IVF-PQ fix and its regression coverage within the original scope. Signed-off-by: QuakeWang <wangfuzheng0814@foxmail.com>
Sync upstream CI baseline and Rust API alignment fixes. Preserve the IVF-PQ reader change and existing regression scope. Signed-off-by: QuakeWang <wangfuzheng0814@foxmail.com>
Keep the reader and Native test identical to upstream after apache#10782. Retain real-SDK sparse-filter and Python deletion-vector regression coverage. Signed-off-by: QuakeWang <wangfuzheng0814@foxmail.com>
Contributor
|
+1 |
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.
Purpose
The scalar FFI rejected IVF-PQ results shorter than K when filters included live NULL vectors. #10782 already contains the reader fix; this PR adds real-SDK regression coverage.
Cover sparse, NULL-only and empty filters across three metrics and single/batch queries, plus Python table searches with deletion vectors. The final diff contains tests only and does not require the Rust SDK.
Tests