How do I merge keyword and vector search results into one ranking?
How do I merge keyword and vector search results into one ranking? Rank fusion (RRF, CombSUM, CombMNZ): For search engineers: merges several ranked result lists (for example keyword and vector search) into one ranking, and shows which list put each item where. $0.001 per call in USDC, charged only on a 2xx answer. Try it free: https://forge.fizzl.eu/try/rank-fusion. Signed receipt. Own this tool for $1.00 and earn from every call: https://forge.fizzl.eu/forge/packages/rank-fusion.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://forge.fizzl.eu/p/rank-fusion
| Category | Search and research |
|---|---|
| Provider host | forge.fizzl.eu |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.001 | 458 ms |
| 2026-11-25 | valid payment request | 402 | $0.001 | 481 ms |
| 2026-11-24 | valid payment request | 402 | $0.001 | 466 ms |
| 2026-11-23 | valid payment request | 402 | $0.001 | 465 ms |
| 2026-11-22 | valid payment request | 402 | $0.001 | 465 ms |
| 2026-11-21 | valid payment request | 402 | $0.001 | 465 ms |
| 2026-11-20 | valid payment request | 402 | $0.001 | 467 ms |
| 2026-11-19 | valid payment request | 402 | $0.001 | 810 ms |
| 2026-11-18 | valid payment request | 402 | $0.001 | 464 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"k": 60,
"lists": "doc3,doc1,doc7,doc2\ndoc1,doc5,doc3",
"method": "rrf",
"top": 5
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"k": {
"default": 60,
"description": "RRF constant k (Cormack et al. use 60); ignored by combsum/combmnz",
"maximum": 10000,
"minimum": 0,
"type": "number"
},
"lists": {
"description": "The ranked lists, best first. One list per line (or separated by || when there is no newline), ids separated by commas, e.g. 'd1,d2,d3\\nd3,d1,d9'. At most 60000 characters, 20 lists, 1000 items per list and 5000 items in total; ids up to 200 characters. With with_scores each item is id=score (split at the last =).",
"maxLength": 60000,
"type": "string"
},
"method": {
"default": "rrf",
"description": "rrf (ranks only), combsum or combmnz (need with_scores)",
"enum": [
"rrf",
"combsum",
"combmnz"
],
"type": "string"
},
"top": {
"default": 10,
"description": "How many fused items to return",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"weights": {
"description": "Optional comma-separated weights, one per list, each above 0 and at most 1000, e.g. '1,0.5'. Default 1 for every list.",
"maxLength": 400,
"type": "string"
},
"with_scores": {
"default": false,
"description": "true when items are written id=score (higher is better); required for combsum and combmnz",
"type": "boolean"
}
},
"required": [
"lists"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}