Maxim Mironjuk
-
April 21, 2026
Pure vector search finds topically relevant results even when not a single word of the query appears in the document, but it occasionally loses exact term matches, such as a specific article number or brand name, that BM25 finds reliably. Pure text search, in turn, completely misses formulations that are semantically relevant but phrased differently. Hybrid search tries to combine the best of both worlds by merging two different rankings, one from BM25 and one from vector search, into a single result list. The technical challenge is that BM25 scores and vector distance values sit on completely different, incomparable scales. Reciprocal Rank Fusion solves this elegantly by combining not the scores themselves, but the relative rank positions. This article explains how RRF works, when hybrid search actually beats pure vector search, and how to configure the whole thing concretely in a single Elasticsearch query.