VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

How Hybrid Retrieval Works | How Keyword Matching and Vector Similarity Find Different Kinds of Relevance

Sometimes the best result uses the same words as the query. Sometimes it never uses those words at all.

That tension is why modern search systems often combine more than one retrieval language. Lexical retrieval is strong when exact words, names, identifiers and phrases matter. Vector or embedding retrieval is strong when the user and document express similar meaning in different words.

Hybrid retrieval combines these complementary routes before or during ranking so the candidate set can capture both literal and semantic relevance.

This is a specialist branch beneath How Search Works, How Indexing Works and the existing Candidate Generation branch. Candidate Generation owns the broad first-stage problem. Hybrid retrieval owns one specific architecture for building that candidate set from two different notions of similarity.


1. Lexical Retrieval Preserves Exact Language

Traditional lexical retrieval works with terms, postings and statistics about how words appear in documents.

It is excellent for exact product names, legal clauses, technical identifiers, rare phrases and queries where one word changes the intent completely.

The existing Inverted Index and Postings branch explains the infrastructure underneath this route.

2. Semantic Retrieval Preserves Meaning Across Different Words

Embedding systems represent queries and documents as vectors in a learned space. Items with similar semantic patterns can lie close together even when they share few exact words.

A query such as “how do backups take over when the main server dies?” can retrieve a document titled “How Failover Works” even if the exact word backup appears only occasionally.

3. Each Route Has Failure Modes

Lexical retrieval can miss paraphrases and synonyms. Semantic retrieval can blur distinctions that exact terminology should preserve.

For example, “Java” the programming language and “Java” the island share a surface form but not a meaning. Conversely, “cardiac arrest” and “heart stops beating effectively” may be semantically close despite different wording.

Hybrid retrieval exists because one representation should not be forced to solve every relevance problem.

4. Fusion Can Happen Before Ranking

One architecture runs lexical and vector retrieval separately, takes the top candidates from each and merges the sets before reranking.

The merger can use score normalisation, weighted combination, reciprocal-rank-style fusion or another rule. The specific method matters less than the principle: preserve several routes into the candidate pool.

5. Fusion Can Also Happen Inside a Learned Ranker

A later-stage ranker can receive lexical scores, semantic similarity, freshness, authority and other features together.

This lets retrieval remain broad while expensive judgment is concentrated on a smaller set, which aligns with the existing Multi-Stage Reranking owner.

6. Query Type Should Influence the Mix

A serial number or quotation usually deserves stronger lexical weighting. A vague natural-language question may benefit more from semantic expansion.

Hybrid systems can therefore adapt weights according to query length, rarity, detected entities, navigational intent or confidence in semantic interpretation.

7. Exact Terms Protect Canonical Ownership

In a large knowledge estate, exact terminology can be a routing signal.

If the query contains “recovery point objective,” lexical retrieval helps preserve the specific RPO owner instead of drifting toward generic backup articles. Semantic retrieval can then supply related context once the specific owner is safely in the candidate set.

8. Semantic Retrieval Helps With Receiver Language

Users do not always know the canonical term.

A student may ask “why does the answer change when I use a different starting value?” while the canonical article is about sensitivity analysis. Semantic retrieval can bridge the user’s everyday language into the estate’s specialist vocabulary.

This is search as translation rather than simple matching.

9. Hybrid Retrieval Still Needs Good Index State

Neither route can retrieve content that was never discovered, indexed or represented correctly.

Lexical retrieval needs clean terms and fields. Semantic retrieval needs useful embeddings derived from the correct content. Both depend on indexing architecture underneath.

10. Worked Example: “Why Is My Search Returning the Same Page?”

A lexical system may over-favour one page because it repeats the query terms heavily. A vector system may return several semantically similar pages that all express the same broad answer.

Hybrid retrieval improves candidate recall, but the ranking layer still needs diversification and canonical ownership rules so the result set does not become ten paraphrases of one intent.

11. Worked Example: eduKateSG How X Works

A user asks, “what happens when two systems disagree about what is true now?”

Lexical retrieval may find pages containing “disagree,” “state” and “system.” Semantic retrieval can recognise that How State Reconciliation Works matches the intended mechanism even if the query does not use the canonical term reconciliation.

12. A Hybrid-Retrieval Checklist

  1. Maintain a strong lexical index.
  2. Create semantic representations from the right content fields.
  3. Run both retrieval routes independently enough to preserve diversity.
  4. Normalise or fuse scores carefully.
  5. Adapt weighting by query type where evidence supports it.
  6. Protect rare exact entities and canonical terminology.
  7. Use semantic retrieval to bridge paraphrases and receiver language.
  8. Rerank the merged candidate set with more expensive judgment.
  9. Evaluate hybrid search on real user tasks rather than benchmark recall alone.

13. Read the Mechanism Forward, Backward and Sideways

Forward: query → lexical candidates + semantic candidates → fusion → reranking → results. Backward: start from a missed result and ask whether exact language, semantic representation or fusion suppressed the correct candidate. Sideways: compare search engineer, content owner and user. The engineer sees score spaces, the owner sees canonical routes, and the user sees only whether the right answer appeared.

Hybrid retrieval works because relevance has more than one grammar: sometimes the right answer shares your words, and sometimes it shares only your meaning.

Continue through How Search Works, Candidate Generation and the How X Works hub. Next: retrieval caching — how search reuses expensive work without turning speed into stale state.

Discover more from eduKate Singapore

Subscribe now to keep reading and get access to the full archive.

Continue reading