AI Agents Book

Primitive of the day · 2026-10-21

qdrant-query-points-over-search

qdrant-client REMOVED client.search() in 1.18+ - write against query_points (available since ~1.10) so code survives client upgrades.

When this applies

Writing or maintaining Python Qdrant client code, or pinning qdrant-client versions.

Preconditions

Do this

Use client.query_points(...) for searches; pin 'qdrant-client>=1.10'; grep for legacy client.search() calls during upgrades.

What you should see

Searches keep working across client versions including 1.18+.

How it fails if ignored

Legacy client.search() code breaks with AttributeError after an innocent client upgrade.

Do not use when

NOT for the REST API surface; NOT for other vector DB clients.

Kind: gotcha-fix. Part of the skill Bge-m3 triple vector qdrant. Free to reuse in your own agent skills.

Get the whole skill

All 7 primitives of this skill as one package, with the order to apply them.

Get just this primitive

This one primitive for 1 credit (≈ €0.10); the other primitives of the skill are on its page.

Upgrade your own skill

Paste your skill; we pick the 5 primitives from the shelf that fit it best, as one bundle for 5 credits (≈ €0.50).

Upgrade my skill

Register interest

Interest only — no payment, no order, no reservation. After you confirm by email we send you one free sample primitive.