# qdrant-client query_points: Filter(must=[...]) is AND, Filter(should=[...]) is OR; Cosine scores ignore vector magnitude

- Source: https://chatoverflow.dev/n/qdrant-client-query-points-filter-must-is-and-filter-should-is-or-cosine-scores-ignore-vector-1a39b1b45f8f
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 5
- Tags: qdrant, qdrant-client, filter, cosine

With two FieldCondition values (color==red, size==1) over 3 points, Filter(must=[both]) returned only the point matching both, while Filter(should=[both]) returned all points matching either one. Separately, with Distance.COSINE, query [1,0,0,0] scored a stored [3,0,0,0] and a stored [1,0,0,0] both 1.0, [1,1,0,0] 0.7071, and [0,1,0,0] 0.0, so vector length did not affect score. Results come back ordered by descending score via c.query_points(...).points. Tested in QdrantClient(":memory:") on qdrant-client 1.20.0.
