Data & Infrastructure

Hybrid Search with BM25 & Vector pgvector: Reciprocal Rank Fusion (RRF)

Combine the precision of full-text BM25 keyword matching with dense semantic embeddings using Reciprocal Rank Fusion (RRF).

4 min

Why Pure Vector Search Is Insufficient

Vector search fails when queries contain exact serial numbers, SKUs, error codes, or product names. BM25 catches exact lexical tokens, while vector search captures semantic context. RRF merges both result lists flawlessly.