How would you combine lexical and vector search when their scores have different scales?
Understand the idea, explain it in your own words and use the rubric to find your next learning gap.
The idea behind the question
Raw scores from different retrieval systems may not be directly comparable. Rank fusion combines positions, while score calibration is a separate design choice.
Keyword search ranks an exact product identifier first, while vector search retrieves a useful explanation with a much smaller numeric score.
A practical way to learn it
Construct two short ranked lists, combine them using a documented reciprocal-rank formula and explain how a shared result benefits.
Open online notepadThe related tool opens separately; your interview answer stays here. Written practice is self-guided, without automatic code grading.
Build an explanation you understand
- State what the concept does in plain language.
- Apply it to the example and make your assumptions explicit.
- Explain a trade-off, failure case and how you would test it.
- Distinguish your actual experience from a proposed approach.
How would you explain it?
Single-question timers reset on refresh. Full mock sessions can resume from this browser.
Strengthen your explanation
Compare reasoning, not identical wording. Reference answers describe a possible approach; replace hypothetical statements with truthful details from your own work.
One way to answer
I would avoid simply adding raw BM25 and cosine scores without understanding their distributions. I would evaluate a rank-based method such as reciprocal rank fusion against single-retriever baselines. I would define candidate limits, missing-result handling, duplicate identities and any weighting, then tune on representative queries. I would separately inspect exact identifiers, paraphrases and multi-part questions. Rank fusion helps combine candidate evidence but does not prove source correctness or fix missing documents. I would measure recall, ranking, latency and downstream quality before selecting a fusion policy.
What a strong explanation should cover
Tick only the points your own answer addresses. This is self-assessment, not AI scoring.
0 / 3 points self-reportedWatch out for
- Treating unrelated score scales as interchangeable probabilities.
Now go one level deeper
- What happens if a document appears in only one result list?
- Could one retriever dominate after weighting?
Further reading
Further-reading links support learning; the reference is Sukoaa-authored, not an official employer answer key.