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 truera

Explains how to fuse ranked results from several Qdrant prefetch searches into one list, using RRF, DBSF or custom formula fusion. Aimed at developers building hybrid or multi-vector search.

  • Score 81
  • 3.7k stars
  • MIT
  • 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/truera/trulens /tmp/trulens && mkdir -p ~/.claude/skills && cp -r /tmp/trulens/examples/experimental/EDD/.agents/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 guides an assistant through combining results from parallel prefetch searches in Qdrant. The outer query merges ranked candidate lists into one ranked list. It covers rank-based Reciprocal Rank Fusion (RRF) with tunable k and per-prefetch weights, and Distribution-Based Score Fusion (DBSF), which normalizes each prefetch's scores using mean plus or minus three deviations.

The skill also covers custom fusion with formula queries that use each prefetch's score and payload values, such as recency or popularity. It describes late interaction reranking on multivectors as the most precise but most resource-heavy option. It lists common mistakes, such as linear weighting of incomparable score ranges. It is for developers who combine sparse and dense search in Qdrant.

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

What it can do

  • RRF fusionMerges prefetch results by rank using Reciprocal Rank Fusion, with a tunable k and optional weights.
  • DBSF fusionNormalizes each prefetch's scores by mean plus or minus three deviations before fusing them.
  • Custom formula fusionCombines prefetch scores and payload values such as recency with a FormulaQuery.
  • Formula defaults guidanceAdvises setting defaults for every score index so candidates missing from some prefetches still score.
  • Multivector rerankingDescribes server-side fusion with late interaction models such as ColBERT, ColPali and ColQwen.
  • Fusion pitfalls checklistLists what not to do, such as using untuned weights or picking a fusion type without experiments.

What you need

  • Qdrant with the Query API and prefetch support

Try asking

  • RRF or DBSF? Help me choose for my sparse and dense search in Qdrant.
  • Write a FormulaQuery that boosts recent documents on top of my prefetch scores.
  • My fused results look bad. Check my RRF weights and k value.

Good to know

  • DBSF scores are normalized per prefetch, so absolute scores may not be comparable across queries.
  • Formula queries cannot provide ranks for custom fusions.
  • Weights should be tuned per collection and retriever, not set by guesswork.
  • Late interaction multivector fusion uses the most compute and resources.

Security check

A

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

Checked automatically: examples/experimental/EDD/.agents/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

Inside the skill

  • SKILL.md5 KB

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

When should I use RRF instead of DBSF?

The source describes RRF as a decent default to start with, since it is rank-based and ignores score magnitude. DBSF normalizes score distributions per prefetch and is useful when score scales differ.

How do I combine BM25 and dense cosine scores?

The source says scores on different scales, such as BM25 and cosine, are not comparable, so it suggests starting with RRF. Linear weighted fusion on incomparable score ranges is listed as something not to do.

What is a FormulaQuery used for in fusion?

It lets you access each prefetch's score and payload field values to build custom fusion, for example to add recency or popularity boosts. The source says it cannot provide ranks for custom fusions.

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 MIT licence. The service it connects to may have its own pricing.

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

It scores 81 of 100. Grades: maintenance A, licence A, quality A. 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.