
Hybrid Search: Combining Keyword and Semantic Retrieval
Vectors fix vocabulary mismatch and can be confidently wrong on part numbers. Here is what semantic retrieval buys, what it costs to maintain, and how to prove it earned its place.
TL;DR: Semantic retrieval fixes one specific class of failure — vocabulary mismatch at a scale no synonym list can chase — and can be confidently wrong on another, including exact identifiers and structured constraints, which keyword matching and filters are built to handle. That asymmetry is the case for hybrid rather than replacement, and why adopting it is an evaluation-gated decision in which deciding not to adopt is a legitimate outcome.
What semantic retrieval actually fixes
Be precise about the fixable class, because the entire cost case rests on it.
Vocabulary mismatch is the core one: the corpus contains the thing, described in words the user did not use. A synonym dictionary handles this well for mappings a person can anticipate and curate. It handles it badly at scale, because the tail of ways people describe things is effectively infinite and each entry has to be written by someone. Embeddings attack that tail structurally — similarity in a learned representation rather than an enumerated mapping.
Concept-shaped queries are the vivid case. Someone searching for something to keep coffee hot on a desk is describing a function, and the products that satisfy it may share no keyword with the query at all. Symptom-shaped queries behave the same way in support and documentation corpora: users describe what is going wrong, and the article that fixes it is titled after the mechanism rather than the symptom.
The relationship to synonym curation is worth stating honestly rather than as a replacement story. Embeddings are the structural answer to the mismatch class that a dictionary handles curatorially, and the dictionary stays load-bearing regardless — for domain-specific mappings the model has no way to know. An internal product code, an industry abbreviation used only within one vertical, a house term for a category: these are not semantic relationships a general-purpose model has had the opportunity to learn, which is why the dictionary still has to carry them.
The anti-fit class deserves the same precision. Exact identifiers — model numbers, part codes, order references — are the case where approximate matching can produce confident nonsense: the nearest vector to a part number can be another part number, which is worse than no result because it looks like an answer. Structured constraints are not similarities at all; a price ceiling or an availability flag is a filter, and asking a vector space to approximate it is a category error. And short navigational queries, where someone types a brand or a category name to get to a known page, are the case keyword matching is built for, though Baymard's benchmark still rates 20% of sites as having issues with product-type searches, which describe a category or subcategory. Baymard Institute's work on search query types is a useful attributed taxonomy for separating these classes (Baymard Institute, as of November 2026).
One inherited honesty: embedding a badly modeled corpus produces semantically confident matches to the wrong things. If the documents feeding the index are thin, inconsistently structured, or stuffed with boilerplate, vectors amplify that — in both directions. Retrieval quality is still bounded by document quality, and no model repairs it.
Hybrid, not replacement
The established pattern as of November 2026 is that keyword and vector retrieval run together and their results are fused, rather than one replacing the other. The anti-fit class above is the argument for keeping both: a pure-vector implementation sacrifices exactness on identifiers and navigational queries, which can be a meaningful share of a site's search traffic; the site's own search logs show how large. Elastic's documentation describes the same goal: its recommended reciprocal rank fusion approach merges rankings from the full-text and vector queries so that the final list balances exact keyword matches with similarity-based matches (as of November 2026).
Capability is broadly available across the engine landscape and it moves often, so treat every specific claim here as needing re-verification against current vendor documentation rather than as a settled fact. Vector retrieval and rank fusion are documented in the open-source engine class (OpenSearch hybrid search documentation, as of November 2026). Built-in hybrid search exists in the lightweight class, with embeddings generated and cached automatically once you configure an embedder; Meilisearch relies on third-party embedding models whose source and model you choose (Meilisearch hybrid search documentation, as of November 2026). Vector retrieval and its interaction with filters is documented for the dedicated-engine class (Elasticsearch filtered kNN search documentation, as of November 2026). Managed services can gate semantic capability by plan; Algolia's pricing page, for example, lists NeuralSearch on its Elevate plan (as of November 2026). These are named as market reality rather than ranked, and tier gating in particular is the detail most likely to have changed since any given article was written — verify at contract time.
Rank fusion is the mechanism that makes two result lists into one. Reciprocal rank fusion is one documented fusion method: Elastic recommends it for hybrid search, OpenSearch offers it as a rank-based option alongside a score-based normalization processor, and Meilisearch describes merging keyword and semantic results with its own scoring system, balanced through a semanticRatio setting (as of November 2026). Its working model is easy to hold: rather than trying to compare a lexical relevance score against a vector similarity score — numbers that live on incompatible scales and mean different things — it merges by rank position in each list. A document that appears third in the keyword list and fifth in the vector list scores well; one that appears only in a single list scores according to its position there. The weighting between the lexical and semantic contributions is a tunable, and it belongs under the same relevance discipline as every other scoring lever, which means it changes only with evaluation evidence.
The interaction that trips teams is filters. Facets and constraints have to apply to the vector candidates too, and how an engine does that materially changes recall. Pre-filtering applies the filter as part of the nearest-neighbor search, which keeps the result count correct but can make the search work harder. As of November 2026, Elastic documents that a filter inside the kNN clause ensures that k matching documents are returned, and that with an HNSW index a filter can make the search slower, because the search has to explore more of the graph to collect enough candidates that satisfy the filter; the same page describes mitigations, including a per-segment brute-force fallback and, for indices created in 9.1 or later, a default filter heuristic. OpenSearch documents that its efficient k-NN filtering, applied during the vector search on the engines that support it (the Lucene engine with HNSW, the Faiss engine with HNSW or IVF, and the JVector engine from the opensearch-jvector plugin), returns k results if there are at least k results in total. Its k-NN filtering documentation uses the pre-filtering label for a separate scoring-script filter that runs an exact k-NN search on the filtered subset, which it says may have high latency and does not scale when filtered subsets are large, while its hybrid search documentation (OpenSearch 3.0 and later) uses the same label for a top-level hybrid query filter that is applied to each subquery during query execution. Post-filtering searches first and then discards non-matching results, which is cheaper but can return a nearly empty set when the filter is selective. Engines differ here and some offer both; this is worth reading the current documentation for rather than assuming, because a filtered semantic query that silently returns almost nothing is a hard bug to diagnose from the outside.
The embedding pipeline is a maintenance surface
Adopting hybrid adds operational surface the keyword-only stack never had, and pricing that surface honestly is most of the adoption decision.
| What hybrid adds | The ongoing obligation |
|---|---|
| A model choice | A decision to revisit, with migration cost attached to changing it |
| A corpus embedding pass | Every new and updated document must be embedded before it is searchable |
| Vector storage | Per-document storage alongside the existing index |
| Query-time embedding | Per-query compute and a dependency in the latency path |
| Model version coupling | A model upgrade is a full re-embed event, not a config change |
The consistency rule underneath the last row is the one that bites. Query and corpus must be embedded by the same model version — vectors from two different models are not comparable, and mixing them produces silent quality degradation rather than an error. This makes a model upgrade a planned re-embed of the entire corpus, which means vectors should be version-stamped and the re-embed pass should be coordinated through the same build-alongside-and-swap mechanics any full reindex uses.
Where the embedding runs shifts both cost and control. Vendor-managed embedding — the search service handles it, you send text — is genuinely convenient and removes a pipeline you would otherwise operate. It also shapes your lock-in: depending on the service, the model producing the vectors may be one you pick in the embedder settings (Meilisearch, for example, has you choose the embedder source and model) or one the vendor chooses and updates, and either way the vectors come from a service whose pricing and capability you do not control. A self-operated pipeline is more work and more choice. Neither is the right answer generically, and the trade-off is structural rather than a matter of price at any given moment.
Latency and index size both grow, and the honest framing is directional rather than numeric. Vector search adds compute per query; vectors add storage per document. How much depends on the model, the dimensionality, the corpus size, and the engine, which is why a published benchmark figure is not a forecast for a specific catalog. Measure on your own corpus or say you do not know.
Prove it earned the complexity
The adoption gate is measured failure of the simpler system on the fixable class. Not a vendor demo, and not a stakeholder who read that search should be AI-powered. The evidence already exists in the search logs: the zero-result queries whose intent the corpus plainly carries, the reformulation chains where a user circled a concept in three different vocabularies before giving up. If that evidence is thin — if the zero-result pile is dominated by genuine catalog gaps and typos rather than vocabulary mismatch — then hybrid is being proposed to solve a problem the site does not have.
The proof follows the same discipline as any other relevance change, with one addition. The golden query set gets extended with the concept-shaped and symptom-shaped queries hybrid specifically claims to fix, so the comparison measures the thing being bought. Then offline comparison before and after, then online verification. The machinery belongs to the evaluation surface; what this decision contributes is a clear statement of what hybrid must demonstrate to be kept.
And the honest option deserves saying out loud: for a corpus with strong attribute data, a maintained synonym dictionary, and mostly navigational traffic, keyword search remains the right answer. Not adopting is a defensible engineering outcome, and being able to explain why — with the log evidence that shows the fixable class is small — is more valuable than shipping a vector pipeline nobody can later justify maintaining.
Three boundaries close this out. A chat interface generating written answers over retrieved documents is a different feature with its own architecture and its own failure modes, outside this topic entirely. Embedding user-local content on the user's own device is client-side inference work covered in this site's in-browser AI literature. And being cited by external answer engines is a discovery question rather than a retrieval one, belonging to the external-discovery literature.