{"slug":"forge-fizzl-eu-p-rank-fusion-828d7d","title":"How do I merge keyword and vector search results into one ranking?","host":"forge.fizzl.eu","method":"GET","resource":"https://forge.fizzl.eu/p/rank-fusion","category":"search","description":"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 o","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":465,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"k":60,"lists":"doc3,doc1,doc7,doc2\ndoc1,doc5,doc3","method":"rrf","top":5},"type":"http"},"output_schema":{"$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"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":458,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":481,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":466,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":465,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":465,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":465,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":467,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":810,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":464,"error":null}],"description_full":"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.","last_updated":"2026-11-18T09:32:42.392Z","schemes":["exact"]}