---
title: "What is hybrid search? BM25 plus vectors with RRF explained"
description: "Hybrid search combines keyword search such as BM25 with vector search and merges the rankings, often with reciprocal rank fusion. How it works and why it helps RAG."
url: https://broadrouter.com/glossary/hybrid-search/
lang: en
updated: 2026-11-16
publisher: BroadRouter (a BroadNet site); API by BroadNet Inference, https://inference.broadnet.ai
---

# Hybrid search

Updated 2026-11-16

Hybrid search is a retrieval method that runs keyword search, such as BM25, and vector search over embeddings on the same query, then merges the two ranked lists into one, often with reciprocal rank fusion (RRF) or a weighted sum of normalized scores.

Also called: hybrid retrieval, reciprocal rank fusion, RRF

Keyword search finds the exact words. Vector search finds the meaning. Hybrid search runs both and merges the results.

## How it works

The query goes to two retrievers at once:

-   **Keyword**: [BM25](https://broadrouter.com/glossary/bm25/) over an inverted index. Strong on names, codes and rare terms.
-   **Vector**: nearest neighbours over [embeddings](https://broadrouter.com/glossary/embeddings/) in a [vector database](https://broadrouter.com/glossary/vector-database/). Strong on paraphrases and synonyms.

The two scores are on different scales, so most systems merge by rank or by normalized score.

**Reciprocal rank fusion (RRF)**, from Cormack, Clarke and Büttcher (SIGIR 2009), adds up a term for each list a document appears in. Elasticsearch documents the loop as `score += 1.0 / (k + rank(result(q), d))`, with the rank constant `k` defaulting to 60. Its docs say “RRF requires no tuning.”

A worked example with k = 60:

| Document | BM25 rank | Vector rank | RRF score |
| --- | --- | --- | --- |
| A | 1 | 3 | 1/61 + 1/63 = 0.0323 |
| B | 2 | 1 | 1/62 + 1/61 = 0.0325 |
| C | not found | 2 | 1/62 = 0.0161 |

B wins because both retrievers rank it high.

**Weighted fusion** is the other common method. Weaviate’s default since v1.24, `relativeScoreFusion`, normalizes each search’s scores and combines them as a scaled sum. Its `alpha` setting weights the two: 0 is keyword only, 1 is vector only, and 0.75 is the server default. The docs recommend setting alpha explicitly: the 0.75 default applies only when a request reaches the server with no alpha, and not every client library leaves it unset, so the real weighting can differ.

After fusion, many pipelines add a [reranker](https://broadrouter.com/glossary/reranking/) over the top results.

## Why it matters

-   **Recall.** Real queries mix exact terms and loose wording. One retriever alone misses part of them.
-   **Arabic.** Arabic spelling varies (alef forms, ta marbuta, diacritics), which hurts exact keyword matching unless text is normalized. Adding vector search gives a second path to the right chunk. See [Arabic RAG search](https://broadrouter.com/blog/arabic-rag-search/) and [Arabic text normalization for search](https://broadrouter.com/blog/arabic-text-normalization-search/).
-   **Fewer tokens.** Better retrieval means fewer chunks sent to the LLM per question.

## On BroadNet Inference

Hybrid search runs in your search stack: Elasticsearch, OpenSearch, Weaviate or similar. BroadNet does not offer embeddings or rerank endpoints, so produce embeddings with another provider or a local model. Send the merged top chunks to a BroadNet chat model such as [Qwen3.8 27B](https://broadrouter.com/models/qwen3.8-27b/) or [GLM 5.3](https://broadrouter.com/models/glm-5.3/) over the Chat Completions API. For small corpora, compare against putting the documents in a long context; see [long context vs RAG](https://broadrouter.com/blog/long-context-vs-rag/).

## Questions

### Why not use vector search alone?

Embeddings match meaning but can miss exact strings such as product codes, names and error messages. Keyword search catches those. Combining them covers both kinds of query.

### Do I need to tune RRF?

Usually not much. Elasticsearch's docs say RRF requires no tuning and that the result sets it combines do not need comparable relevance scores. Its rank constant defaults to 60.

### What does alpha mean in Weaviate?

It weights vector against keyword results. Weaviate's docs say alpha 0 is keyword search only, alpha 1 is vector search only, and the server default is 0.75.

## See also

-   [BM25](https://broadrouter.com/glossary/bm25/) (term)
-   [Embeddings](https://broadrouter.com/glossary/embeddings/) (term)
-   [Vector database](https://broadrouter.com/glossary/vector-database/) (term)
-   [Reranking](https://broadrouter.com/glossary/reranking/) (term)
-   [RAG (retrieval-augmented generation)](https://broadrouter.com/glossary/rag/) (term)
-   [Chunking (RAG)](https://broadrouter.com/glossary/chunking/) (term)
-   [Use LlamaIndex with BroadNet Inference through OpenAILike](https://broadrouter.com/guides/llamaindex-openailike/) (guide)
-   [Arabic RAG: normalisation, chunking and retrieval that works](https://broadrouter.com/blog/arabic-rag-search/) (article)
-   [Long context vs RAG: when 1M tokens replaces a vector DB](https://broadrouter.com/blog/long-context-vs-rag/) (article)
-   [Arabic text normalization for search and RAG: what to change, what not](https://broadrouter.com/blog/arabic-text-normalization-search/) (article)

Try it on your real workload. New accounts start with $5 of credit for Gemma and transcription. DeepSeek, GLM and Qwen3.8 need a top-up.

[Get started](https://inference.broadnet.ai/account/?utm_source=broadrouter&utm_medium=referral&utm_campaign=glossary-hybrid-search&utm_content=page-cta) ·

**Sources**

-   [Cormack, Clarke and Büttcher, Reciprocal rank fusion outperforms Condorcet and individual rank learning methods, SIGIR 2009 (checked 2026-11-15)](http://cormack.uwaterloo.ca/cormacksigir09-rrf.pdf)
-   [Elasticsearch docs, reciprocal rank fusion (checked 2026-11-16)](https://www.elastic.co/docs/reference/elasticsearch/rest-apis/reciprocal-rank-fusion)
-   [Weaviate docs, hybrid search concepts (alpha and fusion methods) (checked 2026-11-16)](https://docs.weaviate.io/weaviate/concepts/search/hybrid-search)
