Twenty Results That Are the Same Product Is Not a Result Set
Relevance ranking alone fills a page with near-duplicates: the same shoe in nine colorways, the same part from nine sellers. Diversity is the step that turns a ranked list into a page a shopper can actually choose from.
A relevance model scores each product independently, so nothing stops it from returning the same item ten times in slightly different packaging. To the model, each one earned its place. To the shopper, positions two through ten carry no information: they already decided about that product at position one. Diversity re-ranking fixes the page after scoring, most classically with maximal marginal relevance, which picks each next result by balancing its relevance against how similar it is to what is already chosen. Every major search platform, Algolia and Elasticsearch included, exposes some version of this trade-off because the failure is universal.
Decide what variety means on your catalog
Diversity is not random variety. It is coverage of the distinct decisions a shopper might be making. For a query like running shoes, the axes might be brand, price band, and use case: road, trail, racing. For replacement parts, brand may be irrelevant and specification coverage is everything. The work is choosing the axes per category, which is a merchandising decision wearing a technical costume, and getting it wrong in the diverse direction is possible too: a page that forces variety across brands when the shopper searched one brand by name is not diverse, it is disobedient.
Facets are the shopper-visible version of the same idea, and the two should agree. If the result set claims to span four brands while the brand facet counts one, shoppers notice the incoherence even if they cannot name it. The facet ordering piece on this site covers the navigation side of keeping those promises consistent.
Measuring whether diversity helped
Click depth is the first signal: on a redundant page, clicks concentrate at the top because there is nothing new below. On a well-diversified page, clicks spread and, more importantly, the click that converts can come from deeper positions because a genuinely different option appeared there. Zero-click searches can rise slightly, which frightens teams until they check whether those searches refined into a facet, a sign the page taught the shopper the catalog's shape.
Judge it per query class. Head queries with broad intent gain the most from diversity. Navigational and exact-product queries gain nothing and should be exempt; forcing variety into a search for a specific model number is how relevance teams lose credibility with everyone who watches the dashboards. The synonym piece makes the parallel point for query understanding: the intervention must match the intent, or the fix becomes the complaint.
Implementation without a research project
Start with deduplication rules, not a model: collapse true variants into one result with a variant picker, cap results per brand or per seller on broad queries, then measure. Most stores get the majority of the win from those two blunt rules. MMR-style re-ranking earns its complexity later, when the blunt caps start visibly hurting strong categories and you need the trade-off tuned per query rather than set globally.
Whatever you ship, log the pre-diversity ranking alongside the shown one. When a merchant complains their product vanished, you want to answer whether the model demoted it or the diversity layer did, in one query, not in a week of archaeology.
Frequently asked questions
What is diversity re-ranking in site search?
A step after relevance scoring that rebuilds the result page for coverage: each next result is chosen for relevance minus redundancy with what is already shown, so the page spans the shopper's real options instead of repeating one.
Why does a relevance model return near-duplicates?
It scores each product independently against the query. Ten variants of the same product can all score highly, and nothing in the per-item score knows the other nine are already on the page.
Which queries should not be diversified?
Navigational and exact queries: a specific model number, a single brand search, a part lookup. The shopper asked for one thing, and forced variety reads as the search ignoring them.
How do I measure if diversity is working?
Watch click spread across positions, conversion from deeper positions, and facet refinement after search. Judge broad head queries separately from exact ones, because the effect runs in opposite directions.