AI tools helped gather research and write the first draft of this article. I edited it and checked every quote and figure against the source page listed at the end, read on 1 December 2026. The illustrations are AI-generated. Details at the end.
A chat that answers from your documents is only as good as the passages it is handed. Two ways of finding passages fail in opposite directions. Search by words finds a ticker or a contract address and misses a question phrased in other words. Search by meaning understands the paraphrase and can lose an exact string. Combine them when your readers ask both kinds of questions: exact strings that must match, and descriptions that must be understood. If your questions are only one kind, one retriever may be enough, and you can find out with a small test instead of a guess.
This article explains what each side does, how the two result lists are merged, what vendor documentation says, and where the merge can go wrong. It uses an invented help centre and ends with a test for your own questions. It does not claim that hybrid search is better in general; the sources do not show that.
Two ways to match a question to a passage
Search by words (also called keyword or lexical search) looks for the query's terms inside documents. Its usual scoring function is BM25. Elasticsearch describes its BM25 similarity as the default, "TF/IDF based" with built-in term-frequency normalization, and says it is "supposed to work better for short fields (like names)" [3]. Its two main settings are k1, which controls how quickly repeated terms stop adding score, and b, which controls how much document length matters; the defaults are 1.2 and 0.75 [3]. Lucene's documentation lists the same defaults and credits the function to the Okapi system at TREC-3 in 1994 [4]. The BEIR benchmark paper describes BM25 as "a commonly-used bag-of-words retrieval function based on token-matching" and names the limit: lexical approaches "are able to only retrieve documents containing keywords present within the query" [5]. If the question and the page share no words, BM25 has nothing to match.
Search by meaning (vector or semantic search) converts the query and the passages into vectors with an embedding model and returns the passages whose vectors are closest. Weaviate's documentation describes the pair this way: hybrid search "combines vector search and keyword search (BM25) to leverage the strengths of both approaches", taking into account "semantic similarity" and "exact keyword relevance" [2]. OpenSearch says it "combines keyword and semantic search to improve search relevance" [1].
Neither is the better one in general. BEIR evaluated ten retrieval systems on 18 datasets and found that "no single approach consistently outperforms other approaches on all datasets"; it also found that dense and sparse embedding models "can substantially underperform traditional lexical models like BM25", and summarised that "BM25 remains a strong baseline for zero-shot text retrieval" [5]. The same paper warns that some datasets carry "a strong lexical bias", which can disadvantage other approaches [5]. So a benchmark result, either way, does not tell you what your own questions look like.
Which of your questions need which side
The useful split is by the shape of the question, not by the technology. This table is the author's reasoning, not a finding from a source.
| The question contains | Example (invented) | What tends to be needed |
|---|---|---|
| An exact identifier | a contract address, a ticker, an error code | A match on the string itself |
| A proper name that is also a common word | a token or a game item named like an ordinary phrase | The exact name, plus context to tell the senses apart |
| A description with none of the page's words | "my coins never arrived after moving them to another chain" | An understanding of meaning |
| A mix | "why was my XMPL transfer to the other chain stuck?" | Both |
Why the first row leans on words: an address is a string that either appears in the document or does not. It carries no meaning to paraphrase, and a model that converts text into vectors has no particular reason to treat one hex string as closer to the query than another. This is a reasonable expectation, not a measured result for any specific embedding model, which is the reason to test. Also check whether your text analysis keeps an address or ticker as one searchable token; Weaviate lists the tokenization method among the keyword settings you can change [2].
Why the third row leans on meaning: the words in the question and the page differ, which is the situation the BEIR paper calls the lexical gap [5].
A fictional help centre, with numbers
The following example is invented. Example Chain is a made-up blockchain product with a made-up help centre, address and token. The rankings below are illustrations chosen to show how the merging arithmetic behaves; they are not output from any real system.
The help centre has four pages:
- D1: "Recovering funds from a stuck cross-chain transfer"
- D2: "XMPL token: contract and listing details", which contains the address 0x00000000000000000000000000000000000000AA
- D3: "Swap fee schedule"
- D4: "Moving assets between wallets, step by step"
To merge two ranked lists, one common method is reciprocal rank fusion (RRF). Each list gives a document a score of 1 / (k + rank), the scores are added across lists, and documents are sorted by the total. The constant k is 60 in the original paper and the Elasticsearch default [6][7].
Query 1: the address itself. The word search returns only D2, because only D2 contains the string. Assume the meaning search, which has no useful signal in a long hex string, returns D3, D2, D4, D1.
| Document | Word search rank | Meaning search rank | RRF score |
|---|---|---|---|
| D2 | 1 | 2 | 1/61 + 1/62 = 0.0325 |
| D3 | not returned | 1 | 1/61 = 0.0164 |
| D4 | not returned | 3 | 1/63 = 0.0159 |
| D1 | not returned | 4 | 1/64 = 0.0156 |
D2 comes first, by a wide margin. In this illustration the exact match plus a weak vote from the meaning side is enough, even though the meaning side ranked D3 above it.
Query 2: a paraphrase. The question is "my coins never arrived after moving them to another chain". D1 is the right page, but it shares few words with the question. Suppose the word search matches only incidental words, so it returns D4 first and D3 second, and the meaning search returns D1, D4, D3.
| Document | Word search rank | Meaning search rank | RRF score |
|---|---|---|---|
| D4 | 1 | 2 | 1/61 + 1/62 = 0.0325 |
| D3 | 2 | 3 | 1/62 + 1/63 = 0.0320 |
| D1 | not returned | 1 | 1/61 = 0.0164 |
The right page falls to third. Fusion rewards documents that both lists agree on, and when one list is mostly noise, agreement can beat the one list that was right. The rankings are invented to show the mechanism, not a rate at which it happens.
A game help centre shows the same split. A question about "Ember Blade", an invented item, needs the exact name. A question about "the fire sword from the second dungeon" needs meaning, if the page never says "fire sword". Both arrive, which is the condition for hybrid.

How the merge is done, and what the vendors say
There are two families of merge. OpenSearch and Weaviate document both; the Elasticsearch page read here covers RRF.
Rank-based merge uses positions only. Elasticsearch's RRF page says that RRF "requires no tuning, and the different relevance indicators do not have to be related to each other to achieve high-quality results" [7]. OpenSearch says its rank-based approach "uses reciprocal rank fusion (RRF) to combine documents according to their position in each query clause's results, ignoring the scores themselves", and recommends it when "you want a configuration that works without first measuring how your query clauses score documents" [1]. Weaviate's rankedFusion works the same way, adding 1/(RANK + 60) from each list [2].
Score-based merge converts the two scores to a common scale and adds them. OpenSearch recommends it when "the difference between two documents' scores contains information that the final ranking must reflect" [1]. Weaviate's relativeScoreFusion sets the highest score to 1 and the lowest to 0, with others scaled in between, and applies a weight called alpha: 0 is keyword only, 1 is vector only, and the server default is 0.75 [2]. Weaviate also warns that client libraries do not all leave alpha unset, so the effective weighting can differ from 0.75, and advises to "set alpha explicitly whenever the weighting matters" [2].
Weaviate's documentation gives a small worked case of why the choice matters. Under the vector search the top four of five objects score almost identically (0.6 to 0.594), while under the keyword search one object (ID 1) scores 5 against 2.6 for the next. Ranked fusion puts ID 2 on top; relative score fusion puts ID 1 on top, because it keeps the gap the keyword scores showed [2]. Weaviate says it chose relative score fusion as the default because it "retains more information from the original searches" [2]. That is the vendor's reasoning about its own default, not a measured result.
What the original RRF paper shows is narrower than its reputation. Cormack, Clarke and Büttcher fused rankings from many retrieval systems on TREC test collections, including runs submitted to TREC, and report that RRF outperformed two other fusion methods and the best individual system "by 4% to 5% on average" [6]. It did not beat the best single run on TREC 9, where that run involved a human in the loop [6]. They fixed k = 60 in a pilot and say the choice "was not critical", and that the constant mitigates "the impact of high rankings by outlier systems" [6]. The paper is from 2009 and does not test word search plus modern embeddings. Elasticsearch's page goes further and says RRF "is also shown to give improved relevance over either query individually" [7]; read that as a vendor's summary, not a guarantee for your documents.
Two settings in the Elasticsearch page matter for the second fictional query. First, "each child retriever carries an equal weight as part of the RRF formula" [7]. Equal weights are what let the noisy word list outvote the good meaning list in Query 2. Second, rank_window_size sets how many results from each list enter the merge, and the page says "a higher value will improve result relevance at the cost of performance" [7]. A document that never enters the window cannot be rescued by the merge.
When hybrid helps, and when it may not
- It helps when the two lists contain different right answers. An exact string is found by words, a paraphrase by meaning, and the merge puts both in one list. This is inference from the vendor pages and the BEIR paper.
- It may not help when the questions are all one kind. If readers only ask long natural-language questions and the pages are written to match them, a meaning search alone may be enough. If readers only ask for identifiers and names, words alone may be. In both cases the second retriever adds cost and a place for noise to enter, as in Query 2. This is also inference.
- It does not remove the weighting question. Rank fusion with equal weights avoids tuning, at the price Query 2 shows. Score fusion lets you weight, at the price of choosing alpha and normalising scores whose scales differ. Weaviate notes that BM25 scores are "not normalized or bounded like vector distances", which is why it offers a distance threshold for the vector side but none for the keyword side [2].
- It does not decide what is true. Merging finds candidate passages; whether a passage supports a claim is a separate question.

A test you can run on your own questions
You do not need to settle this by argument. OpenSearch's page points readers to compare the approaches "on your own data and judgment lists" [1]. A small version, as the author's proposal:
- Collect real questions. Take 30 to 50 questions people actually asked, from a support inbox, a chat log or a search log. If you have none yet, write them the way readers would, and say so in your notes.
- Mark the right passage for each. Write down which page or section answers it. This is slow, and it makes the standard explicit.
- Tag each question by shape. Identifier, name, description, mix.
- Run three variants. Words only, meaning only, and the merge. For each, record whether the right passage is in the top five.
- Read the failures. Look at questions where the merge was worse than the best single retriever. Those are your Query 2 cases; they show whether to change the weights, the window or the tokenization.
- Repeat when the content changes. New products, tickers or item names change the questions.
A table of results by tag is enough. If the merge is no better than the best single retriever on any tag, keep the simpler setup and note the date you tested it.
Where this fits in grounded answers
Retrieval decides what the answer is allowed to rest on. If the right passage is not retrieved, no later step can quote it, and a fluent answer can still be built on the wrong one. Other parts of this series cover splitting documents, reranking and citations; this article stays on how candidates are found.
What this article does not settle
It does not show that hybrid search beats either method on your documents; the sources describe how the methods work and what vendors recommend. The 2009 RRF experiments fused rankings of TREC retrieval systems, not word and vector results. The fictional help centre and its rankings are invented; the sums are plain arithmetic. The question-shape table and the test are the author's proposals. No product was run or compared.
How this article was made
| Task | What the AI did | What a person did | How it was checked |
|---|---|---|---|
| Research | Gathered candidate sources and drafted notes | Chose the question and which pages to rely on | Every quote checked against the raw page text named in the sources, read on 1 December 2026 |
| Draft | Wrote the first draft from the notes | Edited the text, the fictional example and the test | An independent review compares claims with the sources before publication |
| Images | Generated the cover and inline illustrations | Chose and checked them | Labelled as AI-generated in the disclosure line and alt text |
| Not done by AI | — | The decision to publish and responsibility for the text | — |
Conflicts of interest: none. The author has no commercial relationship with the organisations named here.
Responsible for this article: Dmitriy Lastovka, author. Corrections: contact form.
Sources
Labels: documentation (a vendor's product pages), paper (a published research paper). Quotes are as on the pages read on 1 December 2026.
- OpenSearch documentation, "Hybrid search". https://docs.opensearch.org/latest/vector-search/ai-search/hybrid-search/index/ Documentation; no revision date in the text read.
- Weaviate documentation, "Hybrid search" (concepts). https://docs.weaviate.io/weaviate/concepts/search/hybrid-search Documentation; no revision date in the text read.
- Elasticsearch documentation, "Similarity settings" (BM25 similarity). https://www.elastic.co/docs/reference/elasticsearch/index-settings/similarity Documentation; no revision date in the text read.
- Apache Lucene 9.9.0 API, class BM25Similarity. https://lucene.apache.org/core/9_9_0/core/org/apache/lucene/search/similarities/BM25Similarity.html Documentation of a named release.
- Thakur, Reimers, Rücklé, Srivastava, Gurevych, "BEIR: A Heterogeneous Benchmark for Zero-shot Evaluation of Information Retrieval Models", arXiv:2104.08663v4 (21 Oct 2021). https://arxiv.org/abs/2104.08663 Paper (preprint, "under review" in the version read).
- Cormack, Clarke, Büttcher, "Reciprocal Rank Fusion outperforms Condorcet and individual Rank Learning Methods", SIGIR 2009. https://plg.uwaterloo.ca/~gvcormac/cormacksigir09-rrf.pdf Paper.
- Elasticsearch documentation, "Reciprocal rank fusion". https://www.elastic.co/docs/reference/elasticsearch/rest-apis/reciprocal-rank-fusion Documentation; no revision date in the text read.










