LLM Application Development
Advanced
4.5
Hybrid Search: Keyword + Vector
Combine the strengths of semantic and keyword search.
1h 30m
1 lesson
1.2K students
What You'll Learn
Learning objectives will be added soon.
Tutorial Content
Each has a weakness
Vector search nails meaning but can miss exact terms (product codes, names). Keyword search nails exact terms but misses paraphrases. Hybrid search runs both and merges results.
Merging results
A common method is Reciprocal Rank Fusion (RRF): score each document by its rank in both lists and combine. Many vector databases (Weaviate, Qdrant) support hybrid search out of the box.
When it helps
Hybrid shines on technical corpora with lots of identifiers and jargon. If pure vector recall is disappointing, adding keyword signal is often the fix.
Your Progress
Sign in to track your progress
Tags
RAG
Embeddings
Vector Database