Keyword and Hybrid Search
Goal
Compare lexical and vector retrieval, explain why each can succeed where the other fails, and combine normalized scores into a simple hybrid ranking.
Suppose you search for the product code XR-4172. Exact characters matter a lot: confusing it with XR-4100 is not "almost right." Now suppose you search for "device dies too fast" while the manual says "short battery duration." Exact words matter less; related meaning matters more.
Those two cases explain why retrieval systems often combine lexical and semantic evidence. Keyword-style search is strong when exact terms, codes, and names carry the signal. Vector search can bridge paraphrases. Hybrid search tries to keep both strengths, but it must combine the two evidence sources carefully rather than pretending their raw score scales mean the same thing.
Lexical search rewards shared terms
A simple lexical score might count or weight shared words. For:
query: XR-4172 reset
chunk A: XR-4172 factory reset procedure
chunk B: reset instructions for XR-4100
A lexical method can strongly favor A because the exact identifier matches. More advanced lexical systems such as BM25 consider term frequency and document frequency. The durable idea is that literal token overlap carries useful evidence.