Cheap Signals, Shipped, Part 2: More of Marcos Rebelo’s E-commerce Search Series
A second reading recommendation, following Cheap Signals, Shipped. If you work on e-commerce search, follow Marcos Rebelo on Medium. The posts are member-only, so below is just what each one argues. The detail is worth reading in the originals.
The first selection was mostly about ranking and retrieval. This batch, from October and November 2026, leans toward the jobs around ranking: testing changes, keeping bad results off the page, fixing data before it gets indexed, and reusing search logs for recommendation and personalization. The approach hasn’t changed. Most posts open with a failure someone could see, then fix it with behaviour data the shop already logged and a rule a merchandiser can follow. As before, the measure is what shoppers bought, not how similar the text looks.
Seven more, in publication order.
1. The Second Map — Catching Bad Search Results With What People Actually Bought Together (Oct 2026)
Use a purchase-based embedding to catch outliers among vector-search results. The setting is a hardware platform with no category tree, so the category guard from The Leash (#4 in part 1) is not available. Dense retrieval put an impact driver in the results for “1/2-inch impact wrench”, because both listings used the same adjectives. The second space is trained Word2Vec-style on order histories. There, products that keep turning up next to the same accessories land close together even if nobody buys them together, and that is how substitutes behave. A text query has no position in that space, so it judges the result set as a whole instead. For each candidate, take its distance to its nearest fellow candidates. Then compare that distance with the result set’s median, using the median absolute deviation as the unit, so the threshold sets itself per query with no per-tenant tuning. Products too new or too rarely bought to have a reliable position are left alone.
2. Two Search rankings on one page — Comparing ranking changes in days, not weeks (Oct 2026)
Test small ranking tweaks by interleaving before A/B testing them. Each of an online grocer’s minor tweaks needed about four weeks of B testing, and eleven of them were queued. The fix merges both rankings onto one page. A coin flip picks which ranking goes first, and then the two take turns. Each search is credited to whichever ranking supplied more of the products the shopper converted. Searches that end in a tie, or with no conversion, don’t count. The result is reported as B’s share of decided searches, with a standard error, a 95% interval and a p-value (Statistical Significance in Search Evaluation). The sample size is fixed up front, so nobody stops the test early on a lucky day. A best-seller boost won overall (0.54 over 10,000 decided searches) but lost badly on “tomato” (0.38), so it shipped with a carve-out for fresh produce. It reached p < 0.001 in three days instead of four weeks, the queue cleared in under a month, and interleaving agreed with A/B results on all six past changes it was replayed on. The team now uses interleaving as a first filter and runs full A/B tests only on the changes that pass it.
3. Paid to be first, not paid to be wrong — A relevance floor for sponsored Search results (Oct 2026)
Promoted listings must also rank organically. On a classifieds site, paid slots were filled at random from any listing the query loosely matched, so a promoted car seat could top “baby stroller”. The rule reuses the trusted organic ranking as the relevance check. Paid slot n, counting from zero, accepts only listings in the organic top 25 + 10·n. Slots are filled from the top down, so a listing too weak for the first slot can still win a lower one. If no promoted listing passes, the old behaviour comes back for that query. The thresholds are generous on purpose: the floor removes listings that only share a word with the query without making advertisers compete on relevance. Glaring mismatches disappeared wherever a relevant alternative existed. Promotion sales held, and clicks on the highlighted slots rose. See also Two-Sided Marketplace Ranking on paid placement.
4. Your usual milk on the first Search results — putting a shopper’s regular items at the top (Oct 2026)
Rerank the page by purchase habit instead of building a recommender. Loyal grocery customers had to scroll past dozens of milks to find the one they always buy. The first version promoted everything a shopper had ever bought, which wrongly lifted a one-off purchase. The rule that shipped has three parts (Personalization in Search). It only reorders the 50 products search already returned. A product counts as a habit only if it was bought at least twice in a rolling three months. Habits are moved up to start at position three, with the most frequent ones (bought more than five times) first, and each group keeps search’s order. A nightly job writes the counts next to the index, and the reordering is a few lines of code after ranking. Products added to the basket from search moved to the first rows, time to basket fell, and regular shoppers ordered more often. The planned recommendation model was pushed down the roadmap. The post links to a companion piece, You already own this fridge.
5. The Search Query that sold it — A more-like-this recommendation (Nov 2026)
Build “more like this” from the queries that sold the product. An attribute-based strip (same category, same brand) put winter coats next to light shells. In the new version, each product keeps the queries, with their filters, that led to basket adds or purchases of it. Clicks are left out as too noisy. Each query is weighted by how much of its basket adds went to that product, smoothed by a constant so rare queries don’t look perfectly specific (Query Specificity). Only the top N queries per product are kept. Every night they are run again against the live engine, and candidates are scored by how high they rank and how strongly each query points at the product. Because the results are recomputed each night instead of stored, they reflect today’s stock and prices, and a product with no sales yet can appear in other products’ strips. Before replacing the attribute strip, it was A/B tested against it and reviewed with merchandisers, and shoppers’ clicks shifted toward the alternatives it suggested. The post also notes that the score, passed through a softmax, can serve as a LTR feature.
6. Every Search change replayed against 10K real purchases — A nightly regression test for Search System (Nov 2026)
Use converting searches as a regression suite. A tokenizer change (Tokenization) joined “nano” and “ii” into one token at index time but not at query time, so “anker nano ii” stopped finding the charger, and a hand-rated set of broad head queries never noticed. The replacement draws 10,000 searches that ended in a purchase (Implicit Judgments). The sample is stratified (Query Sampling) across popularity, query length, price, every second-level category, and whether keyword or vector retrieval found the product. The purchased product is treated as relevant, and everything else shown on that page as not. Every night a small index of just those products is built with the current code, and the job tracks the zero-result rate, recall@k and NDCG@k, raising an alarm when one moves significantly. A fixed 1,000-query subset lets any branch be tested in under fifteen minutes. With no hand rating needed, a fresh set can be drawn in hours whenever the catalog or shopping habits change.
7. Misspelled listings nobody found — Asking sellers about unknown words before Search sees them (Nov 2026)
Catch misspellings on the seller’s side, at publish time. Query-side spelling correction can’t help a listing titled “Samsnug”. Fuzzy matching was rejected because it would flood every query with near-misses and add latency. Silent title correction was rejected because it would turn a garden “Cannon” into a camera. The vocabulary is built from words in frequently clicked shopper queries. When a seller publishes, each unknown word without digits gets highlighted. If one vocabulary word is a single edit away and clearly the most searched, the seller is offered that word. Otherwise the seller is told shoppers rarely search the word and asked to confirm the spelling. The prompt never blocks publishing, and whatever the seller confirms is the only title. Misspelled brand and model names in new listings dropped, queries stayed as fast as before, and listing completion held steady. Separately, the post points to counts of misspelled brand ads on OLX as an illustration of how common the problem is.
Why read them together
These posts cover what part 1 left out. You get two ways to check a ranking change before shipping it: a nightly regression run on purchased products (#6) and same-page interleaving (#2), with A/B tests kept for the winners. You get three guards that stop bad results reaching the page: a purchase-embedding outlier check (#1), an organic-rank floor for paid slots (#3) and spelling checks at listing time (#7). And you get two ways to reuse purchase logs, as personal habit reranking (#4) and as query-based similar-item strips (#5). Apart from the order-history embedding in #1, each is a rule or a nightly job rather than a new model, and in #4 the post explicitly pushed the recommendation model down the roadmap.