Qdrant Hybrid Search

by qdrant6a03d0ce8f55No licenseListed Oct 8, 2026Updated Oct 8, 2026

Explains hybrid search in Qdrant. Use when someone asks 'how do I setup hybrid search?', 'how to combine keyword and semantic search?', 'sparse plus dense vectors?', 'missing keyword matches', 'how to combine results from multiple searches?' and 'combining multiple representations'. Also use for how a hybrid query is scoped: 'how is IDF scoped?', 'can one tenant's data contaminate another tenant's scoring?'

Instructions onlyAI & Agents
AI-generated overview

Explains Qdrant hybrid search: prefetch building blocks, result combination, and IDF isolation across tenants.

What it does
This skill provides guidance on setting up hybrid search in Qdrant, where multiple searches run in parallel and their results are combined. It helps identify which search types can go into a single prefetch and how to combine results using RRF, DBSF, FormulaQuery, or reranking. It also covers collection configuration with named vectors, constructing hybrid queries through the Query API, and evaluating search quality against real data. A separate section explains how isolated parallel searches are, including per-shard index and IDF computation and tenant scoping.
When to use it
Use it when someone asks how to set up hybrid search, combine keyword and semantic search, use sparse plus dense vectors, handle missing keyword matches, or merge results from multiple searches. It also applies to questions about how a hybrid query is scoped, such as how IDF is scoped or whether one tenant's data can affect another tenant's scoring.
Requirements
No scripts are included; it is instructions only. The agent needs Read, Grep, and Glob tools. Following the guidance assumes access to a Qdrant deployment and its Query API, and some described features require Qdrant 1.19 or newer plus a payload index on the filtered field.

Hybrid Search in Qdrant

Hybrid search means running two or more different searches in parallel and combining their results into one.

In Qdrant this is powered by the Query API via prefetch: each prefetch runs exactly one type of search independently, and the outer query combines results from parallel prefetches.
Prefetches can be nested and searches can be multi-stage, all pipeline happening in one request through Query API. See Universal Query API for examples.

Identify the user's problem and pick building blocks:

  • What can go into one prefetch, e.g. power one search, in Search Types [blocked]
  • How to combine results of these searches (RRF, DBSF, FormulaQuery, reranking) in Combining Searches [blocked]

Based on what you've picked, test your approach:

  1. Configure Qdrant collection with named vectors, where each named vector usually corresponds to one representation (different embedding models or different vector types) of a data point.
  2. Construct a hybrid search request with Query API from your building blocks. You can search independently among one type of vectors, with prefetch + using, like shown in examples in Hybrid Queries documentation.
  3. Evaluate hybrid search quality on real user data and provide user with improvements and tradeoffs (speed/resources).

How Isolated Are Parallel Searches?

Use when: different tenants share one collection and you need to understand hybrid search isolation guarantees.

If user wants to isolate/share hybrid search pipelines between tenants, consider that:

  • Indexes (sparse, payload and dense) and IDF modifier for sparse vectors are computed independently per shard, not per tenant, by default — payload-based tenant partitioning alone does not isolate IDF statistics. On Qdrant 1.19 or newer, the idf search param can scope IDF statistics to a payload-filtered corpus (requires a payload index on the filtered field), giving each tenant properly isolated BM25 scoring instead of shard-wide statistics.
  • Prefetch runs independently per shard to retrieve #limit results, so for collection-level prefetches if collection has several shards, Qdrant will always prefetch under the hood #limit * #shard results. Final results are merged based on scores.
  • In nested prefetches (deeper than 1 level), methods described in "Combining Searches" might be done on a shard level first, then per-shards results once again will be merged based on scores.

What NOT to Do

  • Choose a hybrid search pattern based on "vibes" without any hybrid search quality evaluation in-place.
  • Create too many named vectors without a need. An unfilled named vector might take as much resources as a filled one.

Source and attribution

Source:qdrant/skillsinskills/qdrant-search-quality/search-strategies/hybrid-searchat commit6a03d0c

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal