↓ Skip to main content
  1. Glossary/

Reciprocal rank fusion

A method that merges two or more ranked search results into one list. Each list gives a result a score of 1 / (k + rank), where k is a constant, often 60. The merged list orders the results by the sum of their scores, so it needs only ranks, not the scores of each search.

Vector search ranks a chunk first, and keyword search does not return it, so its score is 1 / 61, about 0.0164. Another chunk is 50th in both lists, so its score is 2 / 110, about 0.0182. With k = 60, the chunk that both lists found comes first, although neither list ranked it high.

Appears in