SpinTheMic
Pro

Explain it in 60 seconds

Keyword search vs semantic search in RAG

Machine Learning · RAG · Beginner

What's the difference between keyword search and semantic search, and why use both?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Keyword search (BM25): matches exact terms; great for names, codes, rare terms.
  • Semantic search: matches meaning; handles paraphrases and synonyms.
  • Each fails where the other succeeds.
  • Hybrid search combines both for better recall.
  • Most production RAG uses hybrid.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics