Skip to content

[DO NOT MERGE] Reproduce flaky cuvs-lucene missing filtered results - #2785

Closed
bdice wants to merge 3 commits into
NVIDIA:mainfrom
bdice:wsC-lucene-missing-results
Closed

bdice wants to merge 3 commits into
NVIDIA:mainfrom
bdice:wsC-lucene-missing-results

Conversation

@bdice

@bdice bdice commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Reproducer for flaky cuvs-lucene tests where filtered searches return fewer results than expected (#2736). Coordination: #2783.

@copy-pr-bot

copy-pr-bot Bot commented Oct 10, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@bdice

bdice commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 3b8f5fb

bdice added 2 commits October 10, 2026 16:00
Single-partition CAGRA search computes the filtering rate from the filter bitset when the caller
does not set one, and MULTI_CTA enlarges itopk_size for selective filters accordingly. The
multi-partition search skipped this, so a selective per-partition filter searched with the
unadjusted itopk_size and could return fewer than k neighbors although every partition held more
than k rows passing the filter. cuvs-lucene then routes the query back to per-segment search,
which made TestMultiSegmentGPUFilterConcurrency flaky.

Derive the rate from the per-partition bitsets, sizing the shared plan for the most selective
partition that accepts any row.

Also limit topK in TestCuVSGaps.testVectorSearchWithAlternatingDocuments to the number of
documents that have vectors.
@bdice

bdice commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 2d2bc59

@bdice

bdice commented Oct 11, 2026

Copy link
Copy Markdown
Contributor Author

Closing: this was a reproducer/diagnostic PR for workstream C of #2783. The fix is in #2799.

@bdice bdice closed this Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant