top of page

Hybrid Search in Ecommerce: Why Rank Fusion Breaks Facets, Filters and Pagination

Writer: Ondrej Nespor
Ondrej Nespor
Nov 7
14 min read

Written by Ondřej Nešpor, CTO at Raventic


Full-text search is fast and exact but understands zero meaning. Vector search captures semantic context but loses hard boundaries. Because they are good at opposite things, the obvious standard industry answer is hybrid search: run both systems in parallel, get their top result lists, and merge them into a single, combined page.




Why we're writing this — Raventic builds search and product discovery for e-commerce catalogs. Part 2 ended where most vendor docs begin: dense and sparse retrieval fail in complementary ways, so run both and merge them. Hybrid fusion is the answer nearly every search stack reaches for next, and on a top-10 results page it often looks like it works. But a catalog isn’t a top-10 list. For us, the real test is whether the Brand facet, the result count and page 11 still tell the truth once two engines are fused. This chapter explains why they don’t, and why we didn’t stop at fusion.



Series navigation

Part 3:   The Limits of Hybrid Search (you’re here)

Part 4:   The Constraint Satisfaction Paradigm in Ecommerce Search



TL;DR

  • Hybrid search runs full-text (BM25) and vector search in parallel and merges their top lists. The research behind it is solid: the two engines make different mistakes, so combining them surfaces relevant products that either one alone misses.


  • The merge step is the problem. Reciprocal Rank Fusion (RRF), the default in Elasticsearch, OpenSearch, Weaviate and Vespa, throws away confidence scores, can’t say “nothing matches”, and runs on k = 60. That constant was picked in a 2009 text-only pilot. Qdrant defaults to 2.


  • Score fusion trades one instability for another. Per-query normalization always scores the top hit as 1.0, rankings shift with window size, and a product just outside one branch’s top-k counts as rejected.


  • Weights don’t fix it. Optimal fusion weights vary by two orders of magnitude across datasets, and a fixed α = 0.5 hurt quality in half of tested cases. Per-query routing just adds another ML model to maintain.


  • E-commerce breaks hardest. Depending on the engine, facet counts are computed over a superset, a truncated window, or whatever the ANN graph happened to return. Paginating past the window returns nothing. Rerankers can only reorder what was already retrieved, and they cut throughput from ~1,900 to under 100 QPS.


  • Root cause: fusion treats retrieval as a sorting problem. E-commerce search is a constraint-satisfaction problem: every product that matches the shopper’s constraints, and none that don’t. That’s Part 4.


Commercial platforms like Elasticsearch, OpenSearch, Weaviate, Qdrant, and Vespa all offer built-in "rank fusion" tools. They pitch hybrid search as the gold standard for modern search relevance.

Merging lists works reasonably well for general web search. But when you evaluate it against the strict requirements of enterprise e-commerce, a hard question arises: does hybrid search actually combine the strengths of both worlds, or does it just stack their failures together behind a wall of confusing configuration dials?


What hybrid fusion actually gets right


The idea of combining different search engines isn't just a marketing trick; it's backed by years of search science. In a classic study, Lee (1997) formalized the unequal overlap property: different search systems tend to agree on which documents are highly relevant, but disagree on their mistakes (false positives).



Unequal overlap — across multiple test runs, relevant documents overlapped by 75–83%, while irrelevant documents overlapped by only 29–44%. By combining engines, you amplify the common correct signals while diluting the random, unique errors.



Text and vector search fail in completely different ways. Text engines struggle with grammar, spelling, and synonyms. Vector engines struggle with specific technical codes, negation, and math. Because their error patterns are so different, neither engine is redundant.


An analysis by Arabzadeh et al. (CIKM 2021) showed that to maximize search recall, you simply have to use both. Even though vector search is generally stronger, it still misses relevant products that traditional keyword search catches easily.


This remains true even when one of your systems is incredibly weak. Kuzi et al. (2020) tested a system combining a weak semantic search engine (catching only 6% of relevant documents) with a strong keyword engine (catching 43%). Even with such a weak semantic engine, merging their lists boosted overall search recall to 44%, surfacing hundreds of highly relevant documents that keyword search missed entirely. As the study concluded, semantic search can't replace the keyword index — but it can rescue documents the keyword index was blind to.


Why hybrid search works: search engines overlap 75–83% on relevant documents but only 29–44% on non-relevant ones, and a hybrid merge lifts recall to 44.1% vs. 42.9% for BM25 alone

So, merging uncorrelated systems absolutely expands your total candidate pool. The architectural trap lies in the merge step itself: how do you combine these incompatible lists, and does the final merged list play nice with real-world business constraints?


Rank fusion and relevance laundering

Hybrid search rank fusion for "yellow hoodie XL": BM25 and dense vector results merged with RRF or score fusion still leave 4 of 6 products wrong

The blind default constant ($k = 60$) in RRF


Reciprocal Rank Fusion (RRF) (Cormack, Clarke & Büttcher, 2009) is the most common way to merge lists. It scores products based on their rank position in each list:


RRF score of document d equals the sum over all rankers m in M of 1 divided by k plus the rank of d in ranker m

Here, $r_m(d)$ is the rank of document $d$ in engine $m$, and $k$ is a smoothing constant. RRF solves a major headache: BM25 text scores are unlimited positive numbers, while vector cosine scores sit between -1 and 1. You can't add them together directly. RRF ignores the raw scores entirely and looks only at the rank numbers (1st, 2nd, 3rd).


In almost every commercial database, you'll find the smoothing constant set to a default of $k = 60$. Elasticsearch defaults rank_constant to 60. OpenSearch defaults to 60. Vespa defaults reciprocal_rank to 60.0. Weaviate hardcodes $1/(rank + 60)$ right into its engine.


Where did 60 come from? It was chosen during a pilot test back in 2009, over 30 text-only runs of a single search engine on a single old research topic. The authors actually noted that $k = 80$ performed slightly better, but since the difference was tiny, they wrote down 60 as a reasonable default.


Origin of the RRF constant k = 60: chosen in a 2009 text-only pilot and still the default in Elasticsearch, OpenSearch, Vespa and Weaviate, while Qdrant uses 2

That study predates dense vectors, learned sparse retrieval, and modern e-commerce catalogs entirely. The default of 60 in today's enterprise databases is a legacy of copied documentation, not e-commerce optimization. Qdrant ignores the legacy and defaults its RRF constant to 2 — thirty times smaller.



This number matters. Bruch, Gai & Ingber (TOIS 2024) proved that search relevance (NDCG) changes drastically depending on your RRF parameters. They found that custom-tuned settings like $RRF(5,5)$ easily beat the standard $RRF(60,60)$ defaults across every dataset they tested.


What rank-only fusion throws away


Because RRF looks only at rank positions, it completely discards the model's actual confidence scores. In math terms, RRF lacks Lipschitz continuity: a tiny change in a similarity score that shifts a product's rank by one slot causes a massive, discontinuous jump in its final RRF score.


This loss of score detail hurts search quality. Bruch et al. proved that score-based fusion (combining normalized similarity scores) significantly beats rank-based RRF in search relevance across nine benchmark datasets ($p < 0.01$). Preserving the actual scores preserves the model's confidence margin.


This matches what Tsagkias et al. (2020) observed in e-commerce: turning smooth, continuous scores into rigid ranks creates artificial cliff-edges. A tiny change in a product's similarity score can trigger a massive rank drop, while major differences in product relevance get completely flattened. This is why engines are moving away from ranks and adopting relative-score fusion as their default (like Weaviate in v1.24).


RRF also introduces three major operational limits:


  1. No way to say "I don't know": RRF has no confidence boundaries. If a user searches for something completely absent from your catalog and both search branches return 100% irrelevant products, RRF still assigns top rank positions to those bad products. It inherits vector search's silent failures.


  1. Top spots carry the same weight regardless of list size: If a text search returns only one matching item, that item gets ranked 1st and receives the maximum possible RRF score contribution ($1/(60+1)$). This is identical to an item ranking 1st in a vector search that returned thousands of candidates. RRF doesn't care about the size or confidence of the underlying candidate pool.


  1. Static, rigid weighting: Standard RRF treats both search engines as equally important. But in the real world, searching for a specific SKU requires keyword matching to dominate, while searching for "comfy summer wear" requires vector search to dominate. Global RRF forces a single, compromise ratio across completely different types of queries.


The problem with custom weights


To fix rigid weighting, databases expose custom weight sliders: Elasticsearch has a weight flag, OpenSearch has weights, and Weaviate has alpha. But studies show that global weights are a crude tool:


  • Global weights fail on individual searches: Wang, Zhuang & Zuccon (ICTIR 2021) showed that setting a fixed global weight ($\alpha = 0.5$) actually reduced search quality in half of their test cases. In contrast, dynamically setting weights per query boosted relevance (MRR@10) on MS MARCO from 0.322 to 0.436. Bruch et al. confirmed that query-level weights beat fixed global weights by 9% to 20%.


  • Optimal weights depend heavily on your catalog: A replication study by Ma et al. (2021) showed that the best weight settings varied by two orders of magnitude (from 0.30 to 28) depending on the dataset. Louis, van Dijck & Spanakis (2024) report that in non-English search, fusing scores without highly tuned datasets actually makes search worse than just running a single branch on its own.


  • Weights don't translate to new domains: Bruch et al. showed that tuning RRF parameters on one dataset (MS MARCO) improved scores in-domain, but degraded scores on other datasets like HotpotQA and FEVER by up to 10%.


You can build a classifier to route queries and adjust weights on the fly (Arabzadeh et al., 2021), but this requires maintaining a supervised machine learning model directly in your search path. You've simply shifted your maintenance burden from synonym dictionaries to query-routing models and weight-tuning pipelines.



Fusion doesn't fix errors. It just merges the mistakes of text and vector search into a single list, re-ordered by parameters that require constant tuning.


Score fusion: trading one instability for another


Instead of ranks, we can combine actual scores. This technique goes back to early search theories (Fox & Shaw, 1994). To combine them, we must normalize scores onto a shared scale, usually via min-max normalization (Lee, 1997):


S norm of d equals S of d minus S min, divided by S max minus S min

This is how databases do it under the hood. Elasticsearch's linear_retriever offers minmax and l2_norm; OpenSearch has min_max and z_score; Weaviate's relative score fusion scales scores based on the top and bottom values returned for that specific search.


But normalizing scores dynamically per search query introduces three major bugs:


  1. Top matches are forced to 1.0: Min-max scaling scales your results so that the number-one product always gets a score of 1.0. This happens whether that top product is a perfect exact match or a weak, irrelevant guess in an empty search space. Montague & Aslam (2001) proved that this approach is incredibly sensitive to outliers. Because every query is scaled by its local winner, you can't compare scores across different search sessions.


  2. Results change based on your page limit (window size): Because normalization statistics are calculated from the returned list of products, changing how many products you fetch ($k$) changes the score math, which changes the final ranking order. Weaviate's docs warn that small search limits make relative score fusion unstable, requiring you to over-fetch (like requesting 100 products and trimming down to 10). Qdrant's Distribution-Based Score Fusion (DBSF) calculates means and standard deviations from a top-$k$ sample, meaning a single weird outlier product in a small sample will completely warp your search rankings.


  3. Divide-by-zero crashes on small lists: If a query returns only one item, or if all items share the exact same score, the standard deviation falls to zero. Databases like OpenSearch and Qdrant have to use hardcoded fallback constants (like 0.5) to keep the math from dividing by zero.


Min-max normalization in hybrid search gives the top result a score of 1.00 both for an exact match and for a blind guess on a product that isn't in the catalog

The debate between rank fusion and score fusion is active in search research. Some chose rank-based RRF to avoid score calibration issues (Chen et al., 2022), while others found score fusion superior across benchmarks (Bruch et al., 2024). Database vendors show the same split: Weaviate reports better recall for relative score fusion, while OpenSearch benchmarks show RRF performing slightly better on standard datasets.


The missing-score problem


What happens when a product shows up in one branch's top list but is missing from the other's? Its score in the second list is undefined.


Bruch et al. note that to merge scores mathematically, you need to know the scores of missing products in both branches. But in a distributed search setup with separate text and vector indexes, fetching those missing scores requires extra database lookups and slows down queries. To save performance, databases like Elasticsearch assign a score contribution of zero to any product missing from a branch's top list.


A product ranked just outside the top-100 window in one branch is treated exactly as if that engine had rejected it outright.


The e-commerce failure: facet counts over a guessing pool


In search research, "relevance" is judged by evaluating a small list of results. But e-commerce sites don't just show lists — they depend on facets, filters, sorting by non-relevance attributes (like price or margin), and showing accurate total result counts.


This is where hybrid fusion breaks down. Major databases handle filtering and aggregation under hybrid search in completely conflicting ways. Consider the same shopper action — "show me the Brand facet" — across three engines:


Engine

Facet counts computed over

Consequence

Elasticsearch + RRF retriever

(lexical matches) UNION (vector top-k)

A giant superset of anything actually reachable in the results

OpenSearch hybrid

The fused window only

A tiny subset that shrinks as the page limit shrinks

Elasticsearch pure kNN

The vector top-k

Whatever nodes the ANN graph happened to return

Hybrid search facet counts in e-commerce: Elasticsearch RRF, OpenSearch hybrid and pure kNN each show a different Brand facet count, and none matches the 14 products that actually match

None of these setups satisfy the core e-commerce requirement: representing every single product that matches the customer's constraints, and absolutely none that don't.


Other configurations add to the mess:


  • Default window truncation: Elasticsearch's rank_window_size defaults to your request size (10). OpenSearch recommends window sizes of 100 to 200 due to performance costs. This means your candidate pool is aggressively truncated relative to your full catalog size.


  • Forced vector matches: Approximate vector search always returns a fixed number of results ($k$). If you apply narrow filters, the engine is forced to scan deep into the vector space and return incredibly distant, irrelevant neighbors just to fill the requested count, polluting your hybrid results with garbage matches.


  • Filter placement rules: In Elasticsearch, putting a filter inside the knn block runs it as a fast pre-filter, but putting it in the standard Query DSL runs it as a post-filter — which shrinks your final results below $k$.


Pagination is also affected. In Elasticsearch, trying to paginate beyond your rank_window_size (like requesting page 11 when your window is 100) returns zero hits. Changing your window size completely shifts the global product ordering across pages, breaking pagination consistency.


Running two databases is an operational nightmare


Running separate full-text cluster structures and vector databases introduces massive operational complexity across your engineering pipeline:


  • Keeping filters in sync: Every single metadata filter (price, size, stock, location) must be translated across completely different query systems and executed with identical logic. While newer updates (like OpenSearch 3.0) help automate filter propagation, you are still responsible for managing filter consistency across different systems.


  • Rigid query nesting: Hybrid queries are fragile. In OpenSearch, they must be run as top-level clauses; you cannot nest them inside other queries (like custom boosting or scripts) without breaking the score normalization engines entirely.


  • Distributed network slowness: Merging lists requires collecting and ranking scores across multiple database shards. Vespa's phased ranking and Qdrant's shard-local fusion warn that running fusion over multiple distributed nodes requires intensive inter-node communication, adding latency to every query.


  • Data freshness lag: Maintaining a dual-index setup requires keeping your text catalog and vector embedding pipelines in perfect real-time sync. High update rates (like rapid inventory or price changes) create synchronization lag, leading to inconsistent search results where one database is fresh and the other is stale (TigerData, 2024).


Reranking only rearranges the deck chairs


To squeeze better precision out of hybrid search, teams often use cross-encoder rerankers (like BERT-based models) to re-evaluate the top fused results.


But rerankers are bounded by the results they are given. A reranker can only re-order products that were already retrieved. It cannot add missing items. If a relevant product was dropped during the initial retrieval step, it is permanently lost; the reranker never even sees it (Lin, Nogueira & Yates, 2021; Rathee et al., 2025).


And reranking is incredibly expensive:


  • Elastic recommends restricting CPU rerankers to the top 30 products, using a tiny rank window size of 10.


  • Pinecone caps documents per rerank request between 100 and 250 depending on the model.

  • Vespa benchmarks show that running cross-encoder reranking over just the top 24 candidates drops query throughput from 1,895 QPS to under 100 QPS.


  • Hofstätter et al. (ECAI 2020) show that BERT-Base models can only score roughly 10 products per 100 ms query budget.


Cross-encoder reranking in hybrid search can only reorder the top-k retrieval window and cuts throughput from 1,895 to under 100 queries per second

Rerankers are great at fine-tuning precision for your top 10 results. They do nothing to solve the problem of missing products or broken candidate sets.


The core mismatch: e-commerce vs. web search


Hybrid search is highly effective for web search engine result pages (SERPs). But it fails on the fundamental requirements of e-commerce:



Standard web search (SERP)

Enterprise e-commerce

Objective

Maximize precision@10

Complete and exclusive candidate set

Truncation

Free

A defect

Result count

Decorative

A contract

Downstream use

Click a link

Facets, filters, price/date sorting, inventory rules over the entire catalog


Rank fusion tools (RRF, CombSUM, min-max score normalization) simply try to merge two ranked lists. Keyword search gives you exact lookups without understanding meaning. Vector search gives you semantic meaning without clear boundaries. Hybrid fusion tries to combine them using relative ranks or normalized scores, throwing away confidence margins, introducing complex tuning dials, and making database operations extremely brittle.


These failures happen because hybrid search treats candidate retrieval strictly as a scoring and sorting problem. But e-commerce search is actually a constraint satisfaction problem: identifying every single product that matches active query rules, and absolutely none that don't.


Web search vs. e-commerce search: precision@10 vs. a complete candidate set, so product search needs constraint satisfaction rather than scoring and sorting

 


Next in this series -  In Part 4, we’ll look at a different architecture built around deterministic constraint satisfaction, and what it takes to return every product that matches and none that don’t.




Sources

 
 
bottom of page