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.
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.