Files
qdrant/lib/collection
qdrant-cloud-bot 900e018001 test(model_testing): add has_id matcher to generated scroll filter (#9499)
* test(model_testing): add has_id matcher to generated scroll filter

Extend the ScrollPaged filter selector with a HasId variant so the
generated filter exercises a has_id matcher (restrict to an explicit
point-id set), in addition to the existing none / num / tag filters.

The id set mixes ids present in the model with ids drawn from the id pool
that may not be, so the matcher meaningfully restricts. The model mirrors
it with a set-membership predicate, and the existing paged-scroll
id-set assertion validates the engine result.

Co-authored-by: Cursor <cursoragent@cursor.com>

* chore: fix clippy lints (wildcard_enum_match_arm, from_iter_instead_of_collect)

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(model_testing): clamp has_id sample count to id_pool

Addresses CodeRabbit review: random_distinct_ids could spin forever when
the requested distinct count (up to 15) exceeds id_pool. Clamp to
id_pool.min(15). Only relevant for tiny --id-pool values; the default
pool (500) is far above 15.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-17 16:04:53 +02:00
..
2026-04-27 12:56:29 +02:00

Collection

Crate, which implements all functions required for operations with a single collection of points. Points within a collection should share the same payload schema and have same vector size. So that search requests could be performed over all points of a single collection.

Structure

Collection structure

Update process

Update process