Hybrid And Sparse Vectors
Qdrant · Qdrant
Vector Database — Qdrant
Qdrant evals — Hybrid & Sparse Vectors (relift v3 InfraRed)
About Qdrant
Qdrant is an open-source vector database and similarity-search engine — collections with configurable vector size/distance, payload filtering (must/should/must_not), named and sparse vectors, hybrid search with prefetch and RRF/DBSF fusion, scalar/product/binary quantization, and the managed Qdrant Cloud with API-key/JWT auth and payload-based multitenancy.
Sample tests· showing 3 of 9
| # | Input | Expected behavior | Check |
|---|---|---|---|
| 01 | Agent upserts a sparse vector as {indices:[12, 901, 4503], values:[0.7, 0.3, 0.9]} under the declared sparse vector name. | Provide sparse vectors as parallel indices[] and values[] arrays of equal length under the sparse vector name declared in the collection's sparse_vectors config. indices are token/feature ids; values are weights. Confirm the collection declares the sparse vector before upserting. | Pass / FailAi Platformhigh |
| 02 | Agent retrieves 500 candidates with a cheap matryoshka/low-dim vector in prefetch, then reranks the top set with a full-dimension vector in the outer query. | Use a wide cheap-vector prefetch (high limit) feeding a precise full-dimension rerank in the outer query — classic retrieve-wide-then-rerank. Tune the prefetch limit (candidate pool) vs final limit so recall is preserved while rerank cost stays bounded. | Pass / FailAi Platformmedium |
| 03 | Agent does hybrid search: a prefetch[] pulls 100 candidates from the dense vector and another from the sparse vector, then fuses them in the outer query. | Express multi-stage retrieval with prefetch[]: each prefetch is a sub-query (dense or sparse, with its own using and limit) that produces candidates the outer query fuses or re-ranks. Set each prefetch limit wide enough to feed fusion. The prefetch limit governs candidate recall before fusion. | Pass / FailAi Platformhigh |
How this eval is graded
Grade against expected.ideal_behavior and expected.rubric. Per-criterion pass requires mean >= 4.0 and no criterion below 3.
Rubric criteria
- Qdrant
- Ai Platform
- Hybrid And Sparse Vectors
Recommended for
Works with
Related evals
Run this eval in your workspace
Connect your data, configure thresholds, and review results with your team.