ld.← ALL FIELD NOTESTHE RELATED CASE STUDY ↗
FIELD NOTES / 17SEARCH SYSTEMS   ·   THE QDRANT SERIES

From a query to a useful result.

The path from a search query to a result is a set of decisions—not one fixed sequence for every request.

Follow the request

An application can turn the user’s text into a vector using an embedding model, then send that vector and any payload filters to Qdrant. The query planner chooses a search strategy using factors such as segment state, available indexes, and filter selectivity.

For indexed dense search, the path may involve a filter-aware HNSW traversal. For small or highly selective sets, a scan may be preferable. Results from relevant segments and shards are combined before the response is returned.

A POSSIBLE QUERY PATH
EMBEDRepresent the query
PLAN & SEARCHFilters, index or scan
COMBINEReturn ranked results

Optimize where the time goes

When quantization is enabled, approximate scoring and optional rescoring introduce further trade-offs. Actual execution depends on the configuration; not every search uses quantization or rescoring.

In our work, slow searches could point to different causes: indexing catching up after ingestion, missing payload indexes, or disk reads under memory pressure. Understanding the path made it easier to investigate the right part of the system.

Continue the conversation

Further reading

KEEP READING / 16Smaller vectors, measurable trade-offs.

Another note from the notebook.