The main alternatives to vector search are keyword (BM25) search, hybrid search, rerankers, knowledge graphs (GraphRAG), plain SQL over your system of record, and long-context models that read the whole corpus. Most production systems don't pick one. They combine keyword and vector search, then rerank. Pure vector search is rarely the best answer alone.
Quick comparison
| Approach | Best at | Weak at | Extra infrastructure |
|---|---|---|---|
| Keyword (BM25) | Exact terms, IDs, codes, names | Synonyms and paraphrase | A search index |
| Hybrid (keyword + vectors) | Mixed queries, most RAG | Tuning two signals | Index that does both |
| Reranker | Putting the best result first | Cost and latency per query | A rerank model call |
| Knowledge graph / GraphRAG | Questions that connect many sources | Build effort, keeping the graph current | Graph extraction pipeline |
| SQL over the system of record | Counts, totals, filters, live records | Free-text documents | None (you already have it) |
| Long-context model | Small corpora, whole-document reasoning | Large or fast-changing corpora | None |
Keyword search (BM25)
BM25 ranks documents by how often query terms appear, adjusted for document length and how rare each term is. It is the default similarity in Elasticsearch. It catches exact strings that embeddings blur.
Pick it when:
- Users search for part numbers, case IDs, statute citations or error codes.
- Your domain has jargon that general embedding models don't know.
Hybrid search (keyword plus vectors, with fusion)
Hybrid search runs a keyword query and a vector query, then fuses the two ranked lists. The common fusion method is Reciprocal Rank Fusion (RRF), which scores each document by its rank in each list. Elasticsearch documents RRF as needing no tuning. Qdrant, Weaviate and, as of November 2026, Amazon S3 Vectors all support it natively.
Anthropic's Contextual Retrieval write-up reports that adding BM25 to contextual embeddings cut top-20 retrieval failures by 49% on their tests, versus 35% for contextual embeddings alone.
Pick it when:
- Queries mix meaning ("late filing penalties") with exact terms ("Rule 17.4").
- You run RAG over documents and want a strong default.
- You can't predict which kind of query users will send.
On a regional electric utility project, Team Nebula built hybrid retrieval over 2,000+ pages of regulatory filings, with five evaluators enforcing a 0.95 faithfulness floor, deployed in the utility's own AWS account using Amazon Bedrock and Terraform.
Rerankers
A reranker is a second model that scores each retrieved passage against the query and reorders them. Amazon Bedrock's rerank docs note it lets you send fewer, more relevant chunks to the model, which can lower cost and latency. In Anthropic's tests, adding reranking on top of hybrid search raised the failure reduction to 67%.
Pick it when:
- The right passage is usually in the top 50 but not the top 5.
- Answer quality matters more than a few hundred milliseconds.
Knowledge graphs and GraphRAG
GraphRAG extracts entities and relationships from text, groups them into communities and summarizes each one. Microsoft's GraphRAG docs say it handles two things baseline vector RAG struggles with: connecting facts spread across sources, and summarizing themes across a large collection.
Pick it when:
- Questions sound like "which suppliers are linked to these three incidents?"
- Users ask for themes across a whole corpus, not one passage.
SQL or structured queries over the system of record
Many "search" questions are really database questions. "How many open work orders are past due in the north region?" needs a COUNT with filters, not similar text. Amazon Bedrock Knowledge Bases can turn a natural-language question into SQL against a structured store.
Pick it when:
- The answer is a number, a list of records or a status.
- The data lives in an ERP, CRM or warehouse and changes daily.
- You need the current value, not a copy embedded last week.
Long-context models
Some models now read very large prompts. Several current Claude models have a 1M-token context window. Anthropic's guidance is that a knowledge base under about 200,000 tokens can go straight into the prompt with no retrieval step at all. The same docs warn that recall degrades as token count grows, so more context is not free.
Pick it when:
- The corpus is small: one contract set, one policy manual.
- The task needs the whole document, like a cross-reference check.
- Prompt caching keeps repeated calls affordable.
When to stay with vector search
Vector search is still the right core when:
- Users describe what they want in their own words, and wording varies widely.
- You search images, audio or mixed languages, where keywords don't exist or don't match.
- The corpus is far too big for a prompt and keyword search keeps missing paraphrases.
Even then, add keyword search and a reranker before you call it done.
How to choose
- Collect 50 to 100 real questions from the people who will use the system.
- Sort them: exact-term lookups, meaning-based questions, numeric or record questions, and cross-source questions.
- Send record and numeric questions to SQL over the system of record.
- Start everything else on hybrid search with a reranker.
- Add GraphRAG only if cross-source questions are common and keep failing.
- Measure retrieval and answer quality on the same question set after every change.
FAQ
Is vector search better than keyword search?
Neither wins everywhere. Keyword search is better for exact terms. Vector search is better for paraphrase. Hybrid search usually beats either one alone.
Does RAG need a vector database?
No. Small corpora can go into a long-context prompt, and structured data can be queried with SQL. Many teams also add vectors to a database they already run, such as Postgres with pgvector.
Is GraphRAG a replacement for vector search?
Usually not. It answers connect-the-dots and whole-corpus questions. Direct lookups still use keyword or vector retrieval.
What is the fastest way to improve a weak RAG system?
Add BM25 alongside your vectors, fuse with RRF, then add a reranker. None of these steps require changing your embedding model.
Want a retrieval design for your own data? Request a free one-pager, or see how we take pilots to production.
