Skip to content
Preptima
hardScenarioDesignMidSeniorStaff

Retrieval keeps returning plausible but unhelpful passages. How do you improve it without changing the model?

6 min readUpdated 2026-08-15

Answer

Short answer

Read the failing queries first and sort them into causes, then apply the matching lever — rewriting for vague queries, filters for scope errors, smaller retrieval units for buried answers, lexical retrieval for literal terms, a reranker where recall sits below the cut — each with the metric that proves it worked.

Mention query rewriting where it changes the risk, the owner, or the next check. A useful query rewriting point should make the answer more testable, not merely longer. Tie query rewriting back to the scenario so the interviewer can see why it matters here.

Was this answer helpful?

Likely follow-ups

  • Query rewriting improves your average and breaks a specific class of query. How would you notice?
  • How do you evaluate a rewriting step separately from the retriever it feeds?
  • Which of these changes require reindexing, and how does that alter the order you try them in?
  • The retrieved passages are right and the answer is still wrong. Where do you look next?

Related questions