Back to Blog
E-commerce Searchhybrid-searchndcgsearch-relevanceretrieval-evaluatione-commerce

Best hybrid search implementation for e-commerce: what 'best' means, measured

"Best hybrid search" is a measurement question, not a configuration one. The right weighting depends on your own queries and catalog, and the winning config is the one with the highest confidence-interval lower bound, not the highest score.

May 26, 20269 min read

Search for the best hybrid search implementation and the results converge on a recipe. Combine dense vector retrieval with BM25 keyword matching, fuse the two with reciprocal rank fusion or a weighted convex combination, and add a cross-encoder reranker. Vendor documentation reinforces the framing: hybrid search is presented as a set of configurable weights between two signals, and reciprocal rank fusion in particular is positioned as the default when there is no labeled data to tune against (Elastic Search Labs).

The recipe is real. The premise is the problem. "Best" is not a property of the configuration. It is a property of the configuration measured against a specific catalog and a specific query distribution. The right weighting depends on what a brand's customers search for, how densely its catalog answers those searches, and which of those searches actually drive revenue. A weighting that wins on one brand's traffic can lose on another's, and there is no way to know which without measuring on the queries that brand's customers actually type.

The recipe is fragile by design

The most direct evidence comes from the fusion methods themselves. Reciprocal rank fusion is governed by a parameter, conventionally set to 60, and that default was established on TREC and LETOR retrieval benchmarks, not on product catalogs (Cormack et al., 2009). When the fusion function is studied carefully, the default turns out to be brittle: reciprocal rank fusion is sensitive to its parameter, a tuned convex combination outperforms it in both in-domain and out-of-domain settings, and a tuned reciprocal rank fusion generalizes poorly once it is moved to a new domain (Bruch et al., 2023). Why that fusion step, rather than the rest of the architecture, is where the relevance actually lives is the subject of how hybrid search works. The encouraging part for a brand is how little tuning the convex combination needs: its single weighting parameter can be fit with a small set of labeled queries from the target domain (Bruch et al., 2023). The weight is learnable, which also means it is not knowable in advance.

The same pattern holds one level up, at the choice between dense and sparse retrieval. No single retrieval approach wins across domains. BM25 underperforms neural models by a wide margin on the data those models were trained on, yet it remains a strong baseline that beats many more complex dense-retrieval methods once the domain shifts (Thakur et al., 2021). Reranking models hold up better across domains, but at materially higher cost. The BEIR benchmark was built specifically to expose this behavior, evaluating ten retrieval systems across eighteen datasets, and consistent performance everywhere turned out to be the exception rather than the rule (Thakur et al., 2021). If the dense-versus-sparse balance does not transfer cleanly across research datasets, there is little reason to expect a fixed hybrid weighting to transfer across e-commerce catalogs, which differ from one another far more than those datasets do.

What actually varies between brands

What varies is not exotic. It starts with the query mix. E-commerce traffic is dominated by a small number of high-frequency head queries and a long tail of rare, specific ones, and the two halves reward different retrieval behavior. Dense retrieval earns its place mostly on the tail, where natural-language and descriptive queries create the semantic gap that keyword matching misses; head queries tend to be short, broad in intent, and often better served by lexical signals and historical engagement (Etsy, 2023). A brand whose traffic concentrates in exact product-type and brand queries has a different optimal configuration from one whose customers describe what they want in full sentences (the case where keyword retrieval still wins, and routing beats a fixed blend, is treated in detail separately).

Query type matters as much as query frequency, and failure rates are far from uniform across types. In the 2026 e-commerce search benchmark, 12 percent of sites perform mediocre or worse on exact-match queries, 43 percent on use-case queries, 54 percent on abbreviation-and-symbol queries, and 66 percent on non-product queries (Baymard, 2026). A configuration tuned to look good on the head, where most automated relevance checks concentrate, can be quietly failing the query types that carry the clearest purchase intent.

Catalog density compounds the effect. The number of genuinely relevant products per query, how completely those products are attributed, and how the catalog's taxonomy maps to customer language all change what a given retrieval score actually means. Faceted search adds another layer the recipe ignores: hybrid scores sit underneath the filters customers apply, and the interaction between fused relevance scores and facet constraints is rarely measured directly. Merchandising rules overlap with all of it, promoting or burying products for business reasons the retrieval algorithm knows nothing about. Two brands can run the identical hybrid stack and get opposite results because none of these variables appear in the configuration.

Why this is a measurement question

None of this is visible from a configuration diagram. It is visible only from measurement on the brand's own queries, and that measurement has a specific shape.

Ranking quality for product search is graded, not binary. A search can return an exact match, a reasonable substitute, a complementary item, or something irrelevant, and collapsing those into a single relevant-or-not flag throws away most of the signal. The public product-search datasets built by large retailers encode exactly this distinction. Wayfair's WANDS dataset labels query-product pairs as exact, partial, or irrelevant across 480 queries and roughly 233,000 human judgments (Chen et al., 2022). Amazon's ESCI dataset uses a four-way exact, substitute, complement, irrelevant scale (Reddy et al., 2022). Graded judgments are the standard precisely because they let an evaluation credit a system for ranking the best matches first, which binary judgments cannot (Järvelin & Kekäläinen, 2002).

The reason a graded judgment set on the brand's own top queries matters, rather than a vendor's benchmark number, is that the differences between candidate configurations are usually small while the variance across queries is usually large. The spread in scores a single system produces across different queries can equal or exceed the spread between different systems each measured on one query (Bailey et al., 2015). A configuration scoring an NDCG@10 of 0.44 against one scoring 0.42 may be no better at all once that variance is accounted for. Reporting a confidence interval around each configuration's NDCG@10, rather than a single number, is what separates a real difference from noise, and resampling methods such as the bootstrap are an established way to compute those intervals for retrieval metrics (Smucker et al., 2007). The "best" configuration is then not the one with the highest point estimate. It is the one whose confidence interval lower bound is highest on the brand's own queries: the configuration that can be trusted to be good, not the one that happened to win a coin flip.

The distinction is easiest to see laid out. Consider three candidate weightings measured on the same judgment set, with illustrative numbers:

| Configuration | NDCG@10 (point estimate) | 95% confidence interval | |---|---|---| | Keyword-leaning | 0.42 | 0.36 to 0.45 | | Balanced | 0.44 | 0.41 to 0.47 | | Vector-leaning | 0.43 | 0.35 to 0.49 |

Both alternatives have a higher ceiling than balanced, which is exactly what a single best-case demo would show off: vector-leaning tops out at 0.49. But both also have a lower floor. On an unlucky slice of queries, either could perform meaningfully worse than balanced, whose floor of 0.41 is clearly the highest of the three. Balanced is the configuration whose worst plausible case still beats the others' worst plausible cases, which makes it the defensible choice. The point estimates barely separate balanced from vector-leaning (0.44 against 0.43); only the intervals reveal that one of those two carries far more downside risk than the other.

Which queries those judgments cover is not a detail. The pragmatic shape of the measurement is to take the top several hundred queries by traffic and revenue (roughly the top 500 is enough to cover the head and the start of the torso for most mid-market catalogs), build graded judgments on them, and evaluate the candidate configurations, typically three weightings spanning keyword-leaning, balanced, and vector-leaning, against that set. Selecting and weighting those queries by commercial impact rather than raw frequency is what ties the measurement to revenue: it ensures the configuration that wins is the one that ranks well on the searches that actually produce sales, not the one that wins on high-volume queries that convert poorly. This matters because search traffic is where the revenue concentrates. Shoppers who use search account for about a quarter of traffic but drive close to half of revenue and convert at more than twice the rate of non-searchers, based on an analysis of 609 million searches across more than 100 retailers (Constructor, 2025).

What the measurement usually surfaces

When a brand actually runs this measurement, the result is frequently not "add more hybrid." It is that the retrieval algorithm was never the bottleneck.

Most search failures in e-commerce trace to the catalog and the language layer rather than the ranking model (why catalog data quality, not the algorithm, is usually the bottleneck is the longer argument). The recurring pattern is a site that cannot connect a customer's words to its own products: a synonym the catalog does not contain, a model number that is not indexed, a use case the product descriptions never mention. The benchmark history here is consistent. 70 percent of the top 50 e-commerce sites could not return useful results for product-type synonyms, forcing customers to search in the site's exact jargon (Baymard, 2014); a decade later, 56 percent of sites still rate as having a mediocre or worse search experience (Baymard, 2026). These are not problems a fusion weight can fix. They are missing attributes, absent synonyms, and inconsistent taxonomy.

The customer-side symptom is telling. 42 percent of shoppers report that search results are technically relevant to their query yet still not the products they want, and 68 percent say retail search needs an upgrade (Constructor, 2024). "Technically relevant but not what I wanted" is the signature of a system that is retrieving correctly and ranking or merchandising badly, which no amount of hybrid tuning addresses.

Why vendor-reported relevance does not answer this

The objection at this point is reasonable: the search vendor already reports relevance scores, often with healthy-looking numbers. The difficulty is structural. A relevance score the vendor computes is graded against judgments the vendor's own system or team produced, on a query set the vendor selected. It answers "does the system agree with itself," and it generally does.

The entire discipline of retrieval evaluation is built the other way around, on judgment sets constructed independently of the systems being tested, precisely because a system's internal notion of relevance is not trustworthy as its own report card. That is the logic behind the pooled, pre-committed judgment sets used in TREC-style evaluation, and it is the reason a brand measuring its own search needs judgments built independently of the vendor's scoring. An independent measurement on the brand's own queries routinely produces a different number from the vendor's, and the gap is the actionable part: it points at the queries where the system believes it is doing well and customers disagree.

The question to actually ask

So the question is not "what is the best hybrid search implementation." It is "best for this catalog, on these queries, measured how." A brand cannot answer that from a vendor recipe or a benchmark leaderboard, because the answer lives in its own query distribution and its own catalog. What it can do is build a graded judgment set on its top queries, measure the candidate configurations against it with confidence intervals, and find out where the real bottleneck is. Often the finding reorders the roadmap: fix the merchandising rules and the catalog data first, then revisit the fusion weights.

The TensorOpt e-commerce search diagnostic runs exactly this measurement on a brand's own queries. To see what the output looks like, download the sample diagnostic built on Wayfair's public WANDS dataset. Page 8 compares three hybrid weighting configurations with confidence intervals and shows which one actually wins. Download the sample report.

L

Laszlo Csontos

Author of Designing Hybrid Search Systems (Leanpub, 2026). Practitioner background in production hybrid search, embeddings, cross-encoder reranking, and retrieval evaluation.

Struggling with search relevance? Get an audit.

Book a Discovery Call