Strategy Reference
Reciprocal Rank Fusion (RRF)
The default strategy. RRF ignores raw similarity scores and uses only rank position. This makes it robust when different features produce scores on different scales. Formula:k = 60 (constant that prevents top-ranked items from dominating) and rank_i is the document’s position in the i-th feature’s result list.
Why it works: A document ranked #1 by text search and #3 by image search gets a higher fused score than a document ranked #2 by both. The rank-based approach means you don’t need to calibrate score ranges across features.
Distribution-Based Score Fusion (DBSF)
DBSF normalizes scores from each feature into a common distribution before combining them. This handles cases where one feature produces scores in [0.8, 0.99] and another in [0.1, 0.6]. How it works:- For each feature, compute the mean (μ) and standard deviation (σ) of scores
- Normalize each score:
normalized = (score - μ) / σ - Sum normalized scores across features
Weighted Fusion
You manually assign a weight to each search feature. Scores are multiplied by their weight and summed. Use this when you know from domain expertise that one feature is more important than another. Formula:Max Fusion
Takes the maximum score across all features for each document. A document only needs to be a strong match on one feature to rank highly. Formula:Learned Fusion
Learned fusion replaces static weights with weights that adapt automatically from user interaction data. Under the hood, it uses Thompson Sampling with Beta distributions to balance exploration (trying different weight combinations) with exploitation (using what’s known to work). See Learned Fusion for the full deep dive.Choosing a Strategy
Performance Comparison
All strategies add minimal latency. The real difference is in quality: learned fusion converges toward optimal weights for your specific users and content, while static strategies require manual tuning or accept a one-size-fits-all approach.
Related
- Feature Search stage — where fusion is configured
- Learned Fusion deep dive — Thompson Sampling explained
- Interaction Signals — capturing the data that powers learned fusion
- Evaluations — measuring the impact of different fusion strategies

