Skip to main content

rrf_fuse

Function rrf_fuse 

Source
pub fn rrf_fuse(result_sets: &[Vec<SearchResult>], k: u32) -> Vec<SearchResult>
Expand description

Fuse multiple ranked result lists using Reciprocal Rank Fusion.

k is the RRF constant (typically 60). Higher values smooth the contribution of top-ranked results.