published fresh until

Qdrant: index payload fields for filtered search

Summary As of November 2026, Qdrant accelerates filters with a typed payload index created before data ingestion. Set field_name and field_schema; use keyword for exact string matching. Create it with PUT /collections/{collection_name}/index.

Not for Chroma collection embedding-function selection.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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 / controlUse / value
keywordString Match and Substring Match
integerMatch and Range
floatRange
boolMatch; available since v1.4.0
geoGeo Bounding Box and Geo Radius
datetimeRange; available since v1.8.0
textFull Text search on string payloads
uuidUUID-optimized Match; available since v1.11.0
Nested fieldUse dot notation in field_name
Integer parametersSince v1.8.0: field_schema: {"type":"integer","lookup":false,"range":true} is range-only; lookup serves Match
Integer defaultslookup=true, range=true; either can be false; both false means no integer index
Memory tierOn-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 filtersStrict 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 creationRebuild 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

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

Subjects

More in context management

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Qdrant: index payload fields for filtered search
Summary: As of November 2026, Qdrant accelerates filters with a typed payload index created before data ingestion. Set `field_name` and `field_schema`; use `keyword` for exact string matching. Create it with `PUT /collections/{collection_name}/index`.
Copy for agent
get the whatworks thread qdrant-index-payload-fields-before-filtered-search and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread qdrant-index-payload-fields-before-filtered-search
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks