One channel dominates numerically
Detect: Nearly all final results come from one score scale.
Recover: Use rank fusion or normalize with evaluated calibration.
Combine lexical precision with semantic recall, then fuse candidate rankings under one authorization and evaluation contract.
Hybrid search combines sparse retrieval, such as term-based scoring, with dense vector retrieval. Sparse signals preserve exact identifiers and unusual terminology; dense signals connect paraphrases and related meanings. Neither channel dominates every enterprise query, so the architecture retrieves complementary evidence before selecting a final context.
The main design choice is fusion. Reciprocal rank fusion uses rank positions without assuming comparable raw scores. Weighted score fusion needs normalization and calibration because lexical and vector scores have different distributions. Filters, document versions, and deduplication must be aligned across both channels so fusion does not reintroduce unauthorized or obsolete evidence.
Begin with separate lexical and dense baselines on questions containing both paraphrases and exact part numbers.
Production standardizes document identity, metadata filters, fusion parameters, and candidate budgets before adding a reranker.
At scale, measure retrieval quality by query class, maintain both indexes consistently, and budget parallel lookup and fusion latency.
Finds exact names, identifiers, and distinctive terms.
Finds passages related in meaning through query and document embeddings.
Applies common constraints and dispatches bounded searches.
Deduplicates document identities and combines ranks or calibrated scores.
Measures recall, ranking quality, and downstream evidence coverage.
flowchart LR
Q["Question and allowed scope"] --> L["Lexical index"]
Q --> D["Dense vector index"]
L --> F["Rank fusion and deduplication"]
D --> F
F --> R["Optional cross-encoder"]
R --> C["Evidence context"]Preserve meaningful identifiers while handling harmless formatting differences.
Resolve authorization and freshness constraints once for both retrieval channels.
Fetch bounded lexical and dense candidate lists with independent timing information.
Combine ranks or normalized scores and retain each candidate’s source-channel evidence.
Score the fused shortlist against the full question and remove redundant passages.
Select cited evidence within a token budget and record retrieval diagnostics for evaluation.
Industrial distribution · Illustrative enterprise scenario, not a reported customer outcome.
A distributor assistant searches catalogs and service notes for replacement components.
Exact part numbers retrieve well lexically, while descriptions such as heat-resistant valve require semantic matching.
Find compatible evidence for mixed queries without losing rare identifiers.
Catalog records and service passages share stable IDs across lexical and dense indexes.
If one index is behind the source revision, candidates from that revision are excluded or marked incomplete before answering.
Evaluate exact-identifier recall and paraphrase recall separately; aggregate relevance can conceal a serious regression in either workload.
| Decision | Benefit | Cost |
|---|---|---|
| Rank fusion | Avoids raw-score comparability assumptions. | Ignores some magnitude information within each channel. |
| Weighted fusion | Allows query-specific channel emphasis. | Requires calibration and drift monitoring. |
| Parallel retrieval | Limits serial latency. | Consumes two index paths per request. |
Detect: Nearly all final results come from one score scale.
Recover: Use rank fusion or normalize with evaluated calibration.
Detect: Several hits refer to the same passage or revision.
Recover: Deduplicate by stable evidence identity before final selection.
Treat fusion as a calibrated ranking decision.
Resolve and apply one authoritative scope.
Evaluate retrieval recall and citation support directly.