test: [cp3.0]add e2e tests for query_mode=large_topk collection property#48849
test: [cp3.0]add e2e tests for query_mode=large_topk collection property#48849yanliang567 wants to merge 1 commit into3.0from
Conversation
…8736) ## Summary - Add `tests/python_client/testcases/test_large_topk.py` covering the `query_mode: large_topk` collection-level property - 23 test cases across `TestLargeTopkShared` (read-only, shared collection) and `TestLargeTopkIndependent` (per-test collection) - Covers: create/alter/drop property CRUD, topk boundary (16385, up to `large_topk_total - default_nb`), persistence after reload, growing segments, case sensitivity of key vs value, negative paths ## Test coverage | Priority | Cases | |----------|-------| | L0 | smoke (property set + search), topk > 16384 allowed | | L1 | various topk values, alter/drop property workflow, persistence after reload, growing segment, negative (alter/drop with index present) | | L2 | empty collection, round-trip add→drop, invalid value, case sensitivity (key case-sensitive, value case-insensitive), contrast without property | ## Notes - `query_mode=large_topk` forces IVF RBQ2 internally; FLAT index is used in test setup to maintain 100% recall for exact count assertions - `col_large_topk` contains `large_topk_total=21000` rows (> `large_topk_first=16385` with `default_nb=3000` headroom) - Key/value case sensitivity inconsistency tracked in #48725 Signed-off-by: yanliang567 <82361606+yanliang567@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: yanliang567 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
[INFO] PR Label Summary by Default
[WARNING] Milestone not set
You can set milestone by commenting: Use /refresh-label to update related check and label manually |
|
[ci-v2-notice] To rerun ci-v2 checks, comment with:
If you have any questions or requests, please contact @zhikunyao. |
Cherry-pick from master
pr: #48786
Summary
Add e2e tests for query_mode=large_topk collection property.
🤖 Generated with Claude Code