Scrivio Interview library
LeadershipPrincipal5 min read · updated 12 November 2026

Search quality complaints reach your desk from many product lines, and each team tunes analyzers and synonyms on its own. How would you organise search relevance as a capability across the company?

I would treat relevance as a product discipline with its own measurement: judged query sets, offline metrics such as NDCG and MRR, and online A/B tests. A shared search platform would provide standard analyzers, synonym management, query and click logging and evaluation tooling, while product teams keep ownership of their domain tuning. Logs of queries, zero-result searches and clicks drive the work, machine-learned ranking or vector search is adopted where it measurably pays for its cost, and a small central relevance team with real search expertise supports the teams instead of expecting each one to learn it alone.

Why this question is asked

When search quality complaints come from many product lines at once, the issue is rarely one bad analyzer. It is that nobody can say whether search is getting better or worse, every team re-learns the same lessons, and changes are judged by whoever complained last. Interviewers ask this leadership question to see whether we can build a capability, with measurement, platform and people, rather than fix individual queries. In this answer, we will diagnose why ad hoc tuning fails, set up measurement, define the platform and the split of ownership, use logs to find work, decide when advanced ranking pays off, and staff it.

1Why Team-by-Team Tuning Fails

Relevance tuning without measurement works like this: a product manager finds a bad result, an engineer adds a synonym or a boost, that query improves, and ten other queries quietly get worse. Nobody notices because nobody measures them. Meanwhile each team writes its own analyzers and synonym files, so the same mistakes, such as product codes in text fields or synonyms applied at index time, recur across the company.

So the first goal is not better analyzers but a shared way of knowing whether a change helped. Without it, every discussion is opinion against opinion.

2Measuring Relevance Like a Product

The foundation is a judged query set per product line: a few hundred real queries sampled from the logs, each with its top results graded by people, for example 0 for irrelevant up to 3 for perfect. With that set, any change can be scored offline before it ships.

Two metrics are common. MRR, mean reciprocal rank, looks at the position of the first relevant result: if it is at rank 1, 3 and 2 for three queries, MRR is (1 + 1/3 + 1/2) / 3, about 0.61. It suits searches with one right answer, like finding a known product. NDCG, normalised discounted cumulative gain, uses the graded judgments of all top results and discounts lower positions, then divides by the best possible ordering, so 1.0 is perfect. NDCG@10 suits browsing searches with many good results.

Offline metrics decide what is worth testing; online A/B tests decide what ships. An experiment exposes a share of users to the new ranking and compares click-through, conversion and the rate of reformulated queries. Both are needed, because offline judgments miss user behaviour and online tests are too slow to try every idea.

Step throughHow a relevance change ships
  1. Find a problem in logszero results, low clicks
  2. Propose a changesynonym, boost, analyzer
  3. Offline NDCG or MRR better?judged query set
    YesRun an A/B testNoRework or drop it
  4. Online metrics better?clicks, conversion, reformulations
    YesShip and record itNoRoll back

4 steps in order. Play them, or step through them one at a time.

3A Shared Platform With Local Ownership

A central search platform would provide what every team needs and should not rebuild: standard analyzers for common cases such as product codes, names and each supported language; a synonym management service with review and versioning, applied at search time so updates do not need reindexing; query, result and click logging in a common format; and the evaluation tooling that runs judged sets and A/B tests.

Product teams keep ownership of domain tuning: their boosts, their synonyms, their judged queries, because they understand their users and catalogue best. The platform's job is to make the right thing easy, not to approve every change. The split is similar to how a platform team provides deployment pipelines while product teams decide what to deploy.

Step throughSearch relevance capability
  1. Product teamsdomain tuning, boosts, judged queries
  2. Central relevance teamexpertise, reviews, experiment design
  3. Search platformstandard analyzers, synonym service, evaluation tools
  4. Logging and analyticsqueries, zero results, clicks, conversions
  5. Search engine clustersElasticsearch or OpenSearch

5 layers, from the top down. Step through them one at a time.

4Letting Logs Drive the Work

Logs show where to look. The zero-result rate is the clearest signal: a query with no results is almost always a failure, and the top zero-result queries each week usually reveal missing synonyms, spelling variants or analyzer problems. Queries with results but no clicks, and queries that users immediately rephrase, show poor ranking. A weekly review of these lists per product line, with the central team present, turns complaints into a prioritised backlog with measurable outcomes.

5When Advanced Ranking Pays Off

Learning to rank, a model trained on clicks and judgments to combine many signals, and vector search, which matches meaning with embeddings rather than words, can lift relevance substantially. They also add cost: training data pipelines, model hosting, larger indices, latency, and people to maintain them. I would require each adoption to show an expected gain on the judged set and a cost estimate, and start where the gain is largest, often natural-language queries or catalogues with many synonyms. A product line with 500 searches a day does not need a ranking model; one with 5 million might.

6Staffing the Capability

Relevance is a specialised skill that sits between information retrieval, data science and product. Expecting every team to learn it gives shallow results. I would staff a small central team, perhaps three to five people with real search experience, who own the platform's relevance tooling, review significant changes, design experiments and coach the product teams. Its success measure would be the trend of relevance metrics and complaint volume across product lines, reported each quarter, which gives leadership the visibility that was missing.

7Follow-up questions

How big should a judged query set be?

A few hundred queries per product line is a practical start, sampled to include frequent queries and the long tail. It should be refreshed every few months as the catalogue and user behaviour change.

Who judges the results?

Trained internal reviewers or a judging vendor, using written guidelines with examples. Clicks can supplement judgments but are biased by position, so they should not be the only source.

What if a team refuses to use the platform?

Make the platform the easier path: better tools, faster experiments and help from experts. Then require the shared metrics in every product review, so teams outside the platform still have to show their numbers.

8Conclusion

In this answer, we organised search relevance as a company capability. Measurement comes first, with judged query sets, offline NDCG and MRR, and online A/B tests. A shared platform provides standard analyzers, synonym management, logging and evaluation, while teams own their domain tuning. Logs of queries, zero results and clicks drive the backlog, learning to rank and vector search are adopted where their gain justifies their cost, and a small central relevance team supplies expertise.

What to say in the interviewAbout 90 seconds aloud

Open with

The pattern of complaints from every product line tells me the problem is organisational: each team tunes analyzers and synonyms alone, without measurement, so fixes for one query break others and nobody knows if search is improving.

Then, if they want more

I would make relevance a product discipline. Each product line gets a judged query set, a few hundred real queries with graded results, so we can compute offline metrics like NDCG at ten, or MRR for known-item searches, before anything ships, and then confirm with A/B tests on clicks, conversions and query reformulations.

Next, a shared search platform: standard analyzers for common cases and languages, a synonym management service applied at search time, common query and click logging, and the evaluation tooling. Teams still own their domain tuning, because they know their users, but they use the shared tools and metrics.

The logs drive the work, especially the zero-result queries and queries with no clicks, reviewed weekly. For machine-learned ranking or vector search, I would decide case by case where the measured gain justifies the cost of data pipelines, hosting and latency.

And I would staff a small central relevance team of people who actually know search, to support teams, review big changes and report the metrics to leadership every quarter, rather than expecting every team to become search experts.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Official documentation
Elasticsearch documentation
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "Search quality complaints reach your desk from many product lines, and each team tunes...": https://scrivio-interview-library.netlify.app/databases/search-engines/1e51909fe5/