# Searching out 30,000 products—whose word comes first on sorting?

Date: 2026-01-09
Category: Interview Preparation
Tags: E-commerce Products, Search and Recommendation, Interview Questions
Summary: In the search results for thirty thousand products, who comes first—relevance, transaction efficiency, or platform revenue—and why, when the click-through rate rises, should you stop and investigate first.

This interview question I set up is a bit noisy: users search for "dress," three hundred thousand products are recalled, and the click-through rate on the first screen has recently been declining; merchants complain that all the traffic is taken by the top sellers and new stores get no exposure; the monetization team demands two more ad slots, saying this quarter's revenue is short by a chunk. Three departments come to you almost simultaneously, asking how ranking should be changed.

I like this question because it has no clean solution like "optimize click-through rate." As soon as a candidate picks one demand and starts working on it, it becomes hard to justify the reasoning later: whoever you agree with, you immediately push the other two into opposition, and the real problem is that these three demands inherently need to be prioritized.

> Article 4/10 in this series · [Previous: Coupon System — What I Wait for Is "What About Stacking?"](/2026/04/16/ec-pm-coupon-rule-engine/) · [Next: Peak Sale at Midnight — Overselling or Lag, Which to Save First?](/2026/01/31/ec-pm-peak-sale-oversell/)

## First Distinguish Which Goal Can Be Compromised

I break down what ranking needs to serve into three parts: relevance, transaction efficiency, and platform revenue. If a candidate cannot separate these three, then any later discussion of weights is basically nonsense.

Relevance is the bottom line. It is not suitable to be treated as a factor that can be weighted, because once it can be weighted, it will sooner or later be traded away for other goals. When a user searches for "dress," if jumpsuits or skirt-support accessories pop up in the front row, even if the click-through rate is high and the ad bid is high, what is being consumed is the credibility of search. Once users form the impression that "this platform's search is inaccurate," they will bypass search and go browse recommendations, or simply switch platforms. This loss will not appear in that day's report, and it is hard to make it appear in any report.

Transaction efficiency is the long-term goal of ranking, but its evaluation standard must be based on payment, not clicks. Clickbait main images, borderline images, and fake low prices can all make click-through rates look beautiful, but they do not bring payment. If only click-through rate is used as the optimization target, after a few weeks the first screen will become a main-image competition, and the final winner will be the merchant best at taking photos, while the merchant with the best product quality may not necessarily win.

Platform revenue should be placed among constraints. Ad slots can be added, provided that the first two are not undermined, and there must be testable guardrails. This sounds like platitude, but whether it is written into the rule document makes the later meetings look completely different.

I judge whether a candidate has thought it through by whether they proactively say this sentence: the priority of these three goals must be written into the product rules, and cannot be argued about ad hoc every time something goes wrong. Once written down, when monetization raises demands again, the object of discussion becomes "whether the new slots will push the no-click rate above the threshold," rather than "who cares more about user experience."

## "Cannot Find" and "Cannot Find Accurately" Are Two Different Illnesses

Three hundred thousand results look scary, but for most users the problem is not that there are too many results, but that they cannot find the one they want.

Classifying query intent first is the first step I would require. Navigational (finding a brand, a store, a specific model), product-based (with clear attributes, such as "black knee-length commute dress"), exploratory ("what to wear in summer"). The success criteria for these three types differ greatly: navigational needs one-step direct access, product-based relies on attribute filters, and only exploratory leaves room for diversity and browsing. Using the same ranking to serve these three intents usually leaves all three dissatisfied.

Only after classification can we talk about the recall layer: synonyms, spelling correction, category prediction, attribute extraction. When a user types "dress" as "dres," or stuffs subjective descriptions like "slimming" into the query, can the retrieval layer understand it correctly. The zero-result page especially deserves separate work, because it is the user's clearest signal of disappointment. Providing a fallback to the same category, offering a few relaxable attributes, and recording the query are all better than throwing up a blank page.

There are three metrics I often use to judge whether search is quietly getting worse; none of them need to wait for conversion data:

| Metric | What It Shows |
| --- | --- |
| No-result rate, zero-click rate | A problem with recall or category understanding |
| Query rewrite rate (rewriting the query within the same session) | Users do not trust the first-screen results and have to try again themselves |
| Filter usage rate and post-filter bounce rate | Attribute data is unclean, or the default ranking is not doing the job it should |

People who can proactively report the "query rewrite rate" have generally really looked through search logs. It exposes problems earlier than click-through rate, and is not easily masked by traffic fluctuations during a big promotion.

## Clicks Are Biased, and New Products Suffer Especially

Once ranking uses behavioral data, it cannot avoid position bias: items ranked at the front naturally get more clicks, and the more clicks they get, the higher they are ranked. Part of the traffic consumed by top products and top stores comes from quality, and another part comes purely from the fact that they stood at the front from the beginning. When merchants complain that "new stores get no exposure," it may not be that the algorithm is biased; it may simply be that the feedback loop is closed too tightly.

So how cold start is granted is something I will definitely probe. Common approaches include giving baseline exposure by category, using content similarity to give a small amount of exploratory traffic, and assigning initial scores based on store historical quality. Any path is fine, but three things must be made clear: where the budget for exploratory traffic comes from, how long to observe, and under what conditions to take it back. Those who only answer "give new products a weight boost" usually have not thought about whose place that boost will crowd out.

How much to give — I have no standard answer. At present I lean toward giving it by category tier, keeping the volume to a small fraction of category exposure, and setting the observation window to span at least one complete purchase decision cycle before deciding whether to increase or withdraw.

There is also a more hidden bias: exposure bias. Products users have not seen will not generate any behavior, so the model can never learn their true performance, and this blind spot cannot be filled by online data itself. Therefore the evaluation system must retain a piece of ground truth that does not depend on behavior: manually labeled relevance grades, sampled on a fixed basis by query and relabeled periodically. The volume does not need to be large; a few hundred queries are enough to detect that "relevance is declining overall."

I especially like to ask one follow-up: online click-through rate went up, but manual relevance grades went down — which do you believe. Answering "look at conversion" counts as steady. Answering "first check whether the clicks are being propped up by a change in main-image style, while watching the query rewrite rate and 7-day repurchase, and do not scale up in the short term" — I will talk with that person for ten more minutes.

## Ad Slots Must Be Written as Clauses That Can Be Accepted and Rolled Back

Back to those two slots. I do not accept solution descriptions like "add them between two organic results"; what I want are clauses that can be accepted and rolled back.

- Relevance floor: ad products must pass the same relevance threshold; if they fail, no matter how high the bid, they do not enter;
- Slot cap and position constraints: at most how many on the first screen, whether they can be pinned to the top, whether the same store is allowed to occupy consecutive slots;
- Labeling and explainability: organic results and commercial results must be clearly distinguished; do not let users think that is the platform's best choice for them;
- Guardrail metrics: no-click rate, query rewrite rate, search exit rate, overall payment conversion, 7-day repurchase; if any one crosses the line, reduce slots;
- Experiment design: split by user, not by time period; observe for at least one full week; put revenue increment and experience loss in the same table.

The last one is the easiest to skip. "This quarter is short by a chunk" is a revenue perspective, while "users will stop searching in the future" is a long-term perspective. The two time scales differ by orders of magnitude. If both are crammed into a three-day experiment, the conclusion will inevitably be that adding slots is better. I would require extending the observation window, or at least adding a long-term control bucket.

The merchant side is the same: demands must land in rules, not stop at emotion. Top concentration can be measured by the Gini coefficient or the exposure share of Top N products, and new products by "time to first effective exposure" and "share of products with clicks." Only after the metrics are set does discussing whether to give mid-tier merchants some traffic tilt have a basis for discussion.

## I Divided This Question into Three Tiers

The passing bar is knowing that search has two layers, recall and ranking, being able to read the no-results rate, and being able to propose layering by intent.

A candidate one level up will proactively point out position bias and exposure bias in click data, set aside an exploration budget for new products that can be recovered, and insist on using manual relevance labeling as a yardstick independent of online behavior.

The strongest tier will translate business monetization demands into an experiment plan with guardrails and rollback conditions, and add one more line: search is one of the few scenarios in e-commerce where "users arrive with clear intent," and once you harm it, it is not as easy to recover as harming a recommendation slot.

I usually close with: if three departments need a decision next week, what do you do first. A candidate who answers "first pull the query substitution rate and manual relevance labels to confirm whether the first screen has actually gotten worse, and at the same time put ad slots into a small-traffic experiment with guardrails" reassures me more than any "we will conduct a comprehensive evaluation."
