Problem
A team launches a search engine over its own documents with no history of queries and no annotated set of relevant results. Standard offline metrics such as precision and recall need that annotated set, so they cannot be computed. The team still has to know whether users find what they need, and to notice when quality drifts after the system is live.
Example from the article: a recipe search for "authentic paella recipe", where the application logs which documents the user opens and which one they mark as relevant.
Solution in brief
Log four user events (search, results shown, document opened, success) with a session identifier. From those logs compute the reciprocal rank of the first document the user accepted, average it per day, and add the share of opened documents that ended in success. Put both on a dashboard to watch quality over time.
Questions this case answers
- How to monitor the ranking quality of a retrieval system in production when no annotated evaluation set exists and users' needs are unknown
- How to turn logged user interaction events into a continuously updated relevance metric
- How to evaluate the live quality of a search system when there is no labeled relevance dataset?
- How to compute mean reciprocal rank from user interaction logs instead of annotations?
Tools and methods
- Mean reciprocal rank (MRR) from logs — how early in the result list users find the first relevant document
- Funnel metric (opened to successful) — share of opened documents that users accepted
- Event logging — four events per search journey, joined by session
- Microsoft Azure (Application Insights, Kusto) — log storage, queries and dashboard; the same logic ports to SQL
Google or a one-time email code. No password.