advancedSpring AI — Core, ChatClient & RAG

What is hybrid search in RAG? How does it combine vector and keyword search?

Vector search finds conceptually similar chunks; keyword (BM25/full-text) search finds exact term matches. Hybrid search combines both scores (commonly via Reciprocal Rank Fusion) for better recall — important when users search using exact terms like error codes or product IDs that pure vector similarity can miss.

This is a Pro question

Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.

What is hybrid search in RAG? How does it combine vector and keyword search?

Next Step

Continue to How do you evaluate a RAG pipeline? What metrics matter?← Back to all Spring Boot & Microservices questions