AI Engineering · interactive
Hybrid search and reranking
Vector search finds meaning but misses exact codes. Keyword search finds exact words but misses paraphrases. Production RAG runs both, fuses the rankings, then lets a reranker pick. Try each query in each mode.
User
asks
Your app
fuses with RRF
Keyword index
BM25
Vector index
cosine
Reranker
cross-encoder
LLM
top 2 notes
An exact code. Keyword search finds it; the vector is vague because E1042 means nothing on its own.
Question
Retrieval
✓ Right note ranked first · wanted “Error E1042”
Step 1 of 5 · read left to right
In production
Tools and technologies
Search engines and vector databases now ship BM25, vectors and fusion together; rerankers sit on top as a service.
Not tied to one language — use these names when you search docs or design a system.
- ElasticsearchSoftware
BM25 plus dense vectors, with reciprocal rank fusion built in.
GitHub ↗ - OpenSearchSoftware
Open-source search with hybrid queries and normalization.
Official site ↗ - WeaviateService
Vector database with a hybrid (BM25 + vector) query.
Official site ↗ - QdrantSoftware
Vector database with sparse + dense vectors and fusion.
GitHub ↗ - VespaPlatform
Search and ranking engine with multi-phase ranking.
Official site ↗ - Cohere RerankService
Hosted cross-encoder reranker for search results.
Official site ↗