Brain labTry it → read → next · ~9 min

Tutorials · Chapter C (3/4) · ~9 min

Hybrid search for RAG

Try it → see it → read → next

Combine **keyword + vector** search, then **re-rank** — catch exact codes and fuzzy meaning in one pipeline.

On paths: Builder · Professional · Student

Try tools: Research & search

Try yourself

Playground

Hybrid search picker

Match retrieval strategy to query shape — then re-rank top hits.

Query: “error 502 gateway timeout

Recap

What you just did

You matched query shapes to keyword-only, vector-only, or hybrid + re-rank strategies.

Read

Pipeline sketch

  1. Keyword (BM25) top-k
  2. Vector top-k
  3. Merge + dedupe
  4. Re-ranker scores question ↔ chunk
  5. Top 5 into the prompt

Read

When hybrid wins

Support bots, legal docs, error codes, product catalogs — anything with fixed tokens + natural questions.