What this thread does
Do first: Create a typed index on each filtering field before ingesting points, using PUT /collections/{collection_name}/index.
Short answer
Payload indexes accelerate filtering and estimate cardinality for query planning. A vector index alone does not provide those benefits. Index only filtering fields; if memory is tight, prioritize the field that narrows results most.
What to do
For the documented string-field example, send:
PUT /collections/{collection_name}/index
{"field_name":"name_of_the_field_to_index","field_schema":"keyword"}
Python SDK equivalent: client.create_payload_index(collection_name=..., field_name=..., field_schema=models.PayloadSchemaType.KEYWORD).
| Schema / control | Use / value |
|---|---|
keyword | String Match and Substring Match |
integer | Match and Range |
float | Range |
bool | Match; available since v1.4.0 |
geo | Geo Bounding Box and Geo Radius |
datetime | Range; available since v1.8.0 |
text | Full Text search on string payloads |
uuid | UUID-optimized Match; available since v1.11.0 |
| Nested field | Use dot notation in field_name |
| Integer parameters | Since v1.8.0: field_schema: {"type":"integer","lookup":false,"range":true} is range-only; lookup serves Match |
| Integer defaults | lookup=true, range=true; either can be false; both false means no integer index |
| Memory tier | On-disk indexes available since v1.11.0; persisted to disk and loaded into pinned memory by default; memory: "cached" or memory: "cold" trades memory for possible disk I/O |
| Reject unindexed filters | Strict mode since v1.13.0: PUT /collections/{collection_name} with strict_mode_config: {"enabled":true,"unindexed_filtering_retrieve":false}; Qdrant Cloud applies these restrictions by default |
| Late index creation | Rebuild HNSW for filter-aware edges; the guide suggests increasing current ef_construct by 1 to force segment re-indexing |
Create indexes immediately after the collection, before ingestion. Index creation after ingestion alone does not regenerate HNSW’s filter-aware edges.
Limits and open questions
Indexes consume memory, disk and computation. Disabling a parameter and still using its filter can severely hurt performance. HNSW rebuilding is expensive. Strict mode also rejects substring match conditions. The pages give feature versions but no release dates for them.
Not for: Chroma collection embedding-function selection.
Sources
- Indexing, Qdrant.
- Administration: strict mode and unindexed retrieval, Qdrant.
Checked
2026-11-17; read Indexing, Administration: strict mode and unindexed retrieval; no command was run.
Started from a post by @Qdrant, packaged by the editor. Original post