Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

qdrant-hybrid-search-combining

Skill by qdrant

Explains how to fuse scores from multiple Qdrant prefetch searches into one ranked result using RRF, DBSF or custom formulas. Aimed at developers tuning hybrid search that combines sparse and dense retrieval.

  • Score 70
  • 271 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install qdrant-hybrid-search-combining

Built from the published package, never by AI.

git clone --depth 1 https://github.com/qdrant/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/qdrant-search-quality/search-strategies/hybrid-search/combining-searches ~/.claude/skills/qdrant-hybrid-search-combining

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install qdrant-hybrid-search-combining in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill covers how to merge ranked candidate lists from several parallel prefetches into one result list in Qdrant. It compares RRF, which uses rank, with DBSF, which normalizes each prefetch's scores using the mean and three standard deviations. It also covers formula-based custom fusion that can use payload values, and late interaction reranking on multivectors.

The guidance gives an order for tuning. First confirm that fusion beats each prefetch alone, then compare RRF and DBSF, then settle the RRF k value and sweep weights while validating on held-out queries. It is aimed at people building hybrid search who need to combine scores from multiple searches, such as BM25 with cosine scores.

Written from the project's SKILL.md and checked against it.

What it can do

  • RRF fusionRank-based fusion starting at default k=2 and equal weights, with tunable k and per-prefetch weights.
  • DBSF fusionNormalizes each prefetch's scores using mean plus or minus three deviations, with no parameters to tune.
  • Formula query fusionCombines prefetch scores and payload values such as recency or popularity in a custom formula.
  • Score normalization guidanceAdvises decay or min-max normalization of each score before combining them linearly.
  • Max and min expressionsOn Qdrant 1.19.1 or newer, takes the best or worst score across several prefetches and clamps values.
  • Hyperbolic distance rescoringOn Qdrant 1.19.1 or newer, uses acosh for geodesic distance with the Lorentz model and Dot distance.
  • Late interaction rerankingUses multivector similarity between the query and candidates as both fusion step and ranker.
  • Tuning orderLists the sequence for testing fusion: compare to single prefetches, then RRF vs DBSF, then k and weights.

Try asking

  • Should I use RRF or DBSF to combine my sparse and dense searches?
  • What k value should I use for RRF fusion in my Qdrant collection?
  • Help me set weights for a formula query over two prefetches in Qdrant.

Good to know

  • DBSF scores are normalized per prefetch and may not be comparable across queries.
  • Formula query cannot provide ranks for custom fusions.
  • Late interaction reranking is the most precise option but uses the most compute.
  • Weights should be tuned per dataset and retrieval pipeline, not picked by feel.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/qdrant-search-quality/search-strategies/hybrid-search/combining-searches/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to qdrant-hybrid-search-combining

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

qdrant-hybrid-search-combining: common questions

Is RRF or DBSF better for hybrid search?

The source says to compare them on your own labels. DBSF has no parameters to tune, so it is worth testing before hand-tuning RRF k and weights.

Why is linear weighted fusion risky with BM25 and cosine scores?

The source warns against linear weighted fusion on incomparable score ranges. It suggests starting with RRF when scores are on different scales.

What happens when a point is missing from one prefetch in a formula?

Provide defaults for every $score[i] so the formula still evaluates. On Qdrant 1.19.1 or newer, the source suggests values such as -1e30 for max.

How do I install qdrant-hybrid-search-combining?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is qdrant-hybrid-search-combining free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is qdrant-hybrid-search-combining safe to use?

It scores 70 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to qdrant-hybrid-search-combining?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

qdrant-hybrid-search-combining Install

Add to stack

Loading.