Hybrid vector and keyword search
Brands AI mentions
Recommended for native hybrid search, metadata filtering, and on-premise use.
Recommended for managed cloud and out-of-the-box hybrid search.
Also mentioned rarely: pgvector, PostgreSQL, Zilliz Cloud, Elastic Security, Zilliz, Elastic, Azure AI Search, Mongodb, BGE-Reranker, Cohere Rerank, pgvectorscale, BGE-M3, Amazon OpenSearch Service, Typesense, Redis, MongoDB Atlas Vector Search, Cloud Spanner, Turbopuffer, Apache Cassandra, AWS, ParadeDB, Amazon S3, SPLADE, OpenAI, Cohere
- QdrantChatGPTChatGPT 89%Google AI ModeGoogle AI Mode 93%
- WeaviateChatGPTChatGPT 77%Google AI ModeGoogle AI Mode 87%
- ElasticsearchChatGPTChatGPT 77%Google AI ModeGoogle AI Mode 63%
- PineconeChatGPTChatGPT 61%Google AI ModeGoogle AI Mode 74%
- OpenSearchChatGPTChatGPT 72%Google AI ModeGoogle AI Mode 63%
Pages AI cites most for this topic
Third-party sites shaping AI recommendations here
- Pinecone vs Weaviate vs Qdrant vs Milvus | by Paolo Perrone | Data Science Collective | Medium (opens in a new tab)13%
medium.com · Names Supabase, Hugging Face, Confident AI
- Medium (opens in a new tab)12%
medium.com · Names Supabase, Pinecone, SingleStore
- Pinecone vs Weaviate vs Milvus vs Qdrant: Which Vector DB in 2026? - DEV Community (opens in a new tab)11%
dev.to · Names AWS, Elasticsearch, Pinecone
What decides this topic
Buying criteria from head-to-head AI comparisons
Questions and answers
ChatGPTNov 19, 2026
Implementing a hybrid search system: recommended strategies
A hybrid search system combines vector similarity search (semantic search) with traditional full-text search (lexical search) to improve retrieval quality.
The key recommendation is to run both retrieval methods in parallel and combine their results using a ranking strategy such as Reciprocal Rank Fusion (RRF).
This approach is generally more robust than relying exclusively on either vector similarity or keyword matching.
1. Recommended architecture
A practical hybrid search architecture looks like this:
User query
Search request
Vector search
Embeddings and semantic similarity
Full-text search
BM25 and keyword relevance
Result fusion
RRF or weighted score combination
Optional reranking
Cross-encoder or learning-to-rank model
Final ranked results
The advantage is that each retrieval method compensates for the weaknesses of the other:
- Vector search understands meaning, synonyms, and conceptual similarity.
- Full-text search handles exact terms, names, identifiers, and technical phrases.
- Fusion combines their strengths into a unified ranking.
2. Choose a result-fusion strategy
This is one of the most important configuration decisions.
There are three common approaches.
A. Reciprocal Rank Fusion (RRF) — recommended starting point
RRF combines rankings rather than raw relevance scores.
The formula is:
mathRRF(d)=\sum_{r \in R}\frac{1}{k+rank_r(d)}Where:
d= document.R= individual ranked result lists.rank_r(d)= document's position in a result list.k= ranking constant, commonly 60.
Example:
Document BM25 rank Vector rank Document A 1 8 Document B 3 2 Document C 10 1 Document D 2 Not found RRF rewards documents that rank highly across multiple retrieval methods, without requiring their scores to have comparable scales.
Advantages:
- No score normalization required.
- Robust across different retrieval algorithms.
- Easy to implement and tune.
- Works well as a general-purpose hybrid retrieval strategy.
This is the recommended default in Elasticsearch and Azure AI Search documentation.
Example implementation:
pythondef reciprocal_rank_fusion( result_lists, k=60, limit=10 ): scores = {} for results in result_lists: for rank, document in enumerate(results, start=1): doc_id = document["id"] scores[doc_id] = ( scores.get(doc_id, 0) + 1 / (k + rank) ) return sorted( scores.items(), key=lambda item: item[1](https://www.elastic.co/docs/solutions/search/hybrid-search), reverse=True )[:limit]B. Weighted score fusion
Instead of combining ranks, normalize the raw scores and combine them using configurable weights.
For example:
mathHybridScore(d)= \alpha \cdot VectorScore(d) + (1-\alpha)\cdot BM25Score(d)Where:
\alphacontrols the contribution of vector search.1-\alphacontrols the contribution of keyword search.
Example configurations:
Configuration Vector BM25 Balanced 50% 50% Semantic-focused 70% 30% Keyword-focused 30% 70% Important: Normalize scores before combining them. BM25 and cosine similarity have different score distributions, so directly adding their raw values can produce misleading rankings.
Possible normalization techniques include:
- Min-max normalization.
- L2 normalization.
- Z-score normalization.
OpenSearch supports these approaches through its hybrid search normalization processor.
C. Learning-to-rank or cross-encoder reranking
For more demanding applications, use a second-stage ranking model.
The process:
- Retrieve candidates using vector search.
- Retrieve candidates using full-text search.
- Merge candidates using RRF.
- Select the top 50–100 candidates.
- Rerank candidates using a cross-encoder.
- Return the top 10–20 results.
A cross-encoder evaluates the query and each document together, allowing it to make more sophisticated relevance judgments than independent embedding comparisons.
This is particularly useful for:
- Enterprise document search.
- Retrieval-augmented generation (RAG).
- Technical documentation.
- Complex natural-language questions.
The trade-off is additional inference cost and latency.
3. Configure the retrieval parameters
Here are practical starting configurations.
Parameter Suggested starting point Purpose Vector top-K 30–50 Semantic candidates Full-text candidates 30–50 Keyword candidates RRF constant 60 Ranking contribution decay Fusion output 50 Candidate pool Final results 10–20 User-facing results Reranking candidates 50–100 Optional second-stage ranking These are starting points, not universal optimal values. Azure AI Search specifically recommends balanced hybrid configurations beginning with vector K in the 30–50 range and final output sizes around 10–20.
Recommended retrieval settings
Vector search
- Use cosine similarity for normalized embeddings where appropriate.
- Consider HNSW for approximate nearest-neighbor retrieval.
- Tune
efSearchto balance recall and latency. - Ensure query embeddings use the same model and compatible preprocessing as indexed document embeddings.
Full-text search
- Start with BM25.
- Configure language-specific analyzers.
- Support stemming and tokenization where appropriate.
- Add synonym handling.
- Give additional importance to titles, headings, and exact identifier fields.
- Support phrase matching for exact expressions.
Candidate selection
Avoid retrieving too few candidates from either system. If vector search returns only five results, it may miss relevant documents that keyword search could otherwise recover.
Also, make sure both retrieval paths apply compatible security and metadata filters.
4. Optimize document indexing and chunking
Hybrid retrieval quality depends heavily on how documents are indexed.
A recommended document structure:
json{ "id": "doc-001", "title": "Database Connection Guide", "content": "Detailed documentation...", "category": "engineering", "tags": ["database", "connection"], "embedding": [0.12, 0.34, 0.56], "metadata": { "author": "Engineering", "created_at": "2026-10-01" } }For larger documents, split content into meaningful chunks.
Suggested initial chunking configuration:
- Chunk size: 300–800 tokens.
- Overlap: 50–100 tokens.
- Preserve section headings.
- Store document IDs and chunk positions.
- Keep metadata attached to each chunk.
Avoid splitting sentences, code blocks, or logical sections unnecessarily.
For technical documentation, preserving code snippets and headings can be particularly important because keyword retrieval often depends on exact terminology.
5. Add query-specific weighting
Not every query should use the same balance between semantic and lexical search.
Consider routing queries based on their characteristics.
Query type Preferred strategy Natural-language questions Vector-heavy Product names Keyword-heavy Error codes Keyword-heavy Technical concepts Balanced Synonyms and paraphrases Vector-heavy Exact phrases Keyword-heavy Part numbers and IDs Exact-match priority For example:
- Query: "How do I improve database performance?" → semantic search should contribute strongly.
- Query: "PostgreSQL error 23505" → exact keyword matching should contribute strongly.
- Query: "Configure connection pooling in PostgreSQL" → balanced hybrid retrieval.
You can implement query classification using lightweight rules initially, then introduce a machine-learning classifier if necessary.
6. Apply filters before or during retrieval
Filtering is essential for production systems.
Typical filters include:
- User permissions.
- Document categories.
- Tenant IDs.
- Publication dates.
- Document status.
- Geographic or organizational restrictions.
Ideally, apply compatible filters to both retrieval paths before fusion.
This avoids situations where one search method returns documents that the other method excludes, or where unauthorized content enters the reranking stage.
For multi-tenant applications, enforce access restrictions independently of relevance ranking.
7. Evaluate and tune relevance
Don't assume a 50/50 weighting or RRF will automatically produce the best results.
Create a representative evaluation dataset containing:
- User queries.
- Expected relevant documents.
- Relevance grades.
- Difficult queries involving exact terms.
- Semantic queries involving paraphrases.
- Queries containing identifiers and technical terminology.
Compare these configurations:
Suggested benchmark experiments
Experiment A: Full-text only (Baseline)
BM25 retrieval
Experiment B: Vector only
Embedding similarity retrieval
Experiment C: Hybrid RRF
BM25 + vector + RRF
Experiment D: Hybrid weighted fusion
Normalized BM25 + vector scores
Experiment E: Hybrid + reranking
RRF + cross-encoder
Measure these metrics:
Metric What it measures Recall@K Whether relevant documents are retrieved Precision@K How many retrieved documents are relevant NDCG@K Quality of ranking, accounting for relevance grades MRR Position of the first relevant result p95 latency Performance under realistic workloads For RAG applications, pay particular attention to Recall@K and NDCG@K because missing relevant source material can negatively affect downstream answer quality.
8. Technology-specific implementation options
Depending on your infrastructure, these are good options:
Elasticsearch
Strong choice for mature search infrastructure. Supports BM25, vector retrieval, hybrid search, and RRF.
OpenSearch
Good open-source option with configurable score normalization, RRF, and search pipelines.
PostgreSQL + pgvector
Useful if you want to keep relational data, vector embeddings, and full-text search in one database. You can combine PostgreSQL's text search capabilities with pgvector retrieval and implement fusion in SQL or application code.
Azure AI Search
Managed hybrid retrieval with parallel text/vector execution, built-in RRF, vector weighting, and optional semantic ranking.
9. My recommended production configuration
If I were implementing a new hybrid search system, I'd start with the following:
Recommended baseline
(Recommended starting architecture)
Component Configuration Semantic retrieval Embeddings + HNSW Keyword retrieval BM25 Vector candidates 50 Keyword candidates 50 Fusion RRF RRF constant 60 Candidate pool 50 Reranking Cross-encoder Final results 10 Filtering Metadata + permissions Evaluation Recall@10 + NDCG@10
Execution flow
- Receive user query.
- Generate query embedding.
- Execute vector and BM25 searches concurrently.
- Apply consistent filters.
- Merge candidates using RRF.
- Rerank the top 50 candidates.
- Return the top 10 results.
Further implementation guidance
A few things I would avoid:
- Don't directly add raw BM25 and cosine similarity scores.
- Don't assume vector search should always receive 50% of the weight.
- Don't over-optimize embedding models before establishing a BM25 baseline.
- Don't use reranking on thousands of documents per request.
- Don't evaluate only using a handful of manually selected queries.
- Don't ignore indexing and embedding update consistency.
10. A question that will help determine the best implementation
What technology stack are you planning to use?
Search infrastructure
Primary use case
Expected data volume
[Generate implementation architecture]
With those details, I can provide a concrete implementation with indexing configuration, query examples, fusion logic, and performance-tuning recommendations.
Pages cited in this answer 6
- elastic.coHybrid search | Elastic Docs
- learn.microsoft.comHybrid Search Overview - Foundry IQ (Azure AI Search) | Microsoft Learn
- docs.opensearch.orgReciprocal rank fusion | OpenSearch Documentation
- docs.opensearch.orgHybrid search | OpenSearch Documentation
- docs.opensearch.orgHybrid search | OpenSearch Documentation
- learn.microsoft.comCreate a Hybrid Query - Foundry IQ (Azure AI Search) | Microsoft Learn
Google AI ModeNov 19, 2026
Implementing a hybrid search system that merges vector embeddings (semantic search) with full-text search (lexical search like BM25) solves a fundamental trade-off:
vector search captures conceptual intent, while full-text search nails exact keywords, model numbers, IDs, and rare proper nouns.The core strategies for architecture, score normalization, and fusion fall into several proven patterns:
1. The Core Architecture Patterns
How you store and query the data dictates your pipeline complexity:
- Single-Engine Hybrid (Recommended): Use a modern database or search engine that natively indexes both fields side-by-side (e.g., Elasticsearch/OpenSearch, Qdrant, Milvus, pgvector in PostgreSQL, or Google Cloud Spanner ). The engine executes both searches internally and handles the merge.
- Dual-Engine / Fan-Out: Query an enterprise search engine (for BM25) and a dedicated vector database (for k-NN) in parallel via an API gateway or application layer, then merge the streams in-memory. This adds network overhead and requires synchronized schema updates.
- Metadata-Attached Vectors: Store the raw or tokenized text as metadata payloads directly alongside the vector inside a vector DB (such as Amazon S3 Vectors ) which then applies built-in BM25 scoring to those text fields.
2. Score Fusion & Normalization Strategies
Because vector similarity scores (e.g., cosine similarity ranging from[−1,1] or dot product) and BM25 scores (unbounded positive integers) live in completely different mathematical spaces, you cannot simply add them together raw.
A. Reciprocal Rank Fusion (RRF) — The Industry Standard
- How it works: Instead of comparing raw scores, RRF looks purely at the ordinal rank of a document in each individual result list.
- Formula:
RRF Score(d)=∑m∈M 1 k+r m(d)RRF Score open paren d close paren equals sum over m is an element of cap M of the fraction with numerator 1 and denominator k plus r sub m open paren d close paren end-fraction R R F S c o r e(𝑑)=𝑚∈𝑀1𝑘+𝑟𝑚(𝑑)
(where𝑟𝑚(𝑑) is the rank position of document d in method m, and k is a smoothing constant, typically set to 60). - Why use it: It requires no score calibration or tuning . It naturally prevents a wildly high score from one modality from drowning out a solid match in the other. It is natively supported by systems like Amazon S3 Vectors and Google Spanner.
B. Linear Score Combination (Weighted Sum)
- How it works: Normalize each score stream to a[0,1] range (using Min-Max scaling or Z-score normalization) and apply explicit weights:
Final Score=w vector⋅NormScore vector+w text⋅NormScore text Final Score equals w sub vector end-sub center dot NormScore sub vector end-sub plus w sub text end-sub center dot NormScore sub text end-sub F i n a l S c o r e=𝑤v e c t o r⋅N o r m S c o r e v e c t o r+𝑤t e x t⋅N o r m S c o r e t e x t - Why use it: Gives you fine-grained control if you know your domain leans heavily toward keywords (e.g.,𝑤t e x t=0.7,𝑤v e c t o r=0.3) or conceptual discovery (0.2 / 0.8).
- The Catch: Requires continuous evaluation and re-tuning when your embedding model or document corpus changes.
3. Execution Strategies: Two-Stage vs. True Parallel
- True Parallel (Wide-Fan): Run BM25 (e.g., top 100 results) and Vector k-NN (e.g., top 100 results) simultaneously, then fuse them down to a final top K (e.g., top 10). Best for low latency and balanced intent.
- Candidate Cascading (Filter-Then-Score): Use full-text search as a strict pre-filter (e.g., must match brand or SKU), and run vector search only on that subset—or vice-versa. Great for large datasets where brute-force vector search across millions of items is expensive.
4. Practical Implementation Checklist
- Choose your analyzer carefully: For the full-text leg, make sure you configure language-specific stemmers, stop-word removal, and tokenizers (or language-agnostic analyzers if multi-lingual).
- Handle out-of-vocabulary terms: Ensure your embedding model isn’t blind to specific alphanumeric codes (part numbers, UUIDs, acronyms) by letting BM25 pick up the slack when vectors smear rare tokens together.
- Log and A/B test RRF constants: Start with k=60 for RRF, and adjust weights if using linear combination based on human-evaluated search metrics (NDCG or MRR).
If you want to dive deeper, let me know:
- What database or search stack are you currently using (e.g., PostgreSQL/pgvector, Elasticsearch, Qdrant)?
- What is the primary use case (e.g., e-commerce product search, internal enterprise RAG, or legal/medical document retrieval)?
Google AI ModeNov 4, 2026
When evaluating vector databases for large-scale hybrid search (combining dense vector/semantic search with sparse lexical search like
BM25 or SPLADE), industry guides and ecosystem evaluations highlight a few standout options depending on your specific architectural priorities.The top options for large-scale hybrid search break down by their strengths:
- Vespa
- Best for: Massive, web-scale deployments requiring advanced, custom ranking models.
- Why it stands out: Built from the ground up as a big-data serving engine, Vespa offers first-class native support for sparse, dense, and multi-vector retrieval combined with deep learning-based ranking functions and native tensor operations.
- Trade-off: It features a notably steep learning curve and operational complexity similar to running an enterprise search cluster.
- Milvus / Zilliz Cloud
- Best for: Billion-scale datasets and distributed enterprise throughput.
- Why it stands out: Milvus uses a cloud-native, disaggregated storage-compute architecture capable of scaling to billions of vectors. It manages heavy scalar filtering and massive concurrent queries exceptionally well through distributed execution.
- Trade-off: Requires dedicated engineering overhead to manage and tune effectively at scale.
- Qdrant
- Best for: High-performance, low-latency hybrid search with native sparse representations.
- Why it stands out: Written in Rust, Qdrant provides stellar p50/p99 latencies and supports native sparse vectors (like SPLADE or miniCOIL) alongside ColBERT multi-vector architectures.
- Trade-off: Multi-node distributed setups require careful management compared to zero-ops managed options.
- Weaviate
- Best for: Out-of-the-box maturity in combining BM25 and vector search.
- Why it stands out: Weaviate processes dense vectors and BM25 lexical search natively in a single unified query rather than forcing you to merge separate results in your application code. It also handles combined metadata filtering and index traversal smoothly.
- Trade-off: Managed cloud costs and p99 latencies can trail behind rust-based or specialized engines under extreme loads unless heavily optimized (e.g., using binary quantization).
- Elasticsearch / OpenSearch
- Best for: Teams already running mature full-text search infrastructure.
- Why it stands out: While not pure "vector-first" databases, both platforms seamlessly merge state-of-the-art k-NN search with traditional lexical inverted indices (BM25), making them robust operational choices if your application relies heavily on complex text processing, aggregations, and strict keyword parity alongside embeddings.
To help narrow down the ideal choice, could you share:
- Your approximate dataset size (number of documents/vectors) and expected QPS (queries per second)?
- Whether you prefer a fully managed cloud service or a self-hosted setup?
- If your hybrid search relies more on exact keyword/SKU matching or learned neural reranking?
ChatGPTNov 4, 2026
Best vector databases for large-scale hybrid search
For large-scale hybrid search (combining vector similarity, keyword/BM25 search, metadata filtering, and ranking), my top recommendation is Milvus for maximum scale and flexibility, with Vespa and Elasticsearch as strong alternatives depending on your architecture.
There isn't one universal winner. The best choice depends on data volume, query throughput, filtering complexity, latency requirements, and operational preferences.
Top 5 options compared
1. Milvus
(Best for massive scale)
-
Distributed architecture designed for very large vector collections.
-
Supports dense and sparse vector search.
-
Suitable for billion-scale workloads.
-
Supports hybrid retrieval and GPU-oriented acceleration.
Trade-off: More infrastructure and operational complexity.
2. Vespa
(Best for advanced hybrid ranking)
-
Combines BM25 and vector retrieval.
-
Highly customizable ranking pipelines.
-
Excellent for complex search applications.
-
Supports large distributed deployments.
Trade-off: Steeper learning curve and more application engineering.
3. Weaviate
(Best balanced hybrid search)
-
Native BM25 and vector search.
-
Integrated hybrid ranking.
-
Filtering and multi-tenancy capabilities.
-
Good developer experience.
Trade-off: Requires careful resource planning at very large scale.
4. Qdrant
-
Excellent metadata filtering.
-
Dense and sparse retrieval.
-
Flexible multi-stage queries and fusion.
-
Efficient Rust-based implementation.
Trade-off: Advanced search ranking may require additional tuning.
5. Pinecone
-
Fully managed infrastructure.
-
Serverless scaling.
-
Good production developer experience.
-
Less operational overhead.
Trade-off: Vendor dependency and potentially higher costs at scale.
Decision matrix
Requirement My choice Billions of vectors Milvus Advanced BM25 + vector ranking Vespa Balanced hybrid search Weaviate Fast filtered vector retrieval Qdrant Fully managed service Pinecone Existing Elasticsearch infrastructure Elasticsearch Vespa's ranking flexibility is particularly valuable when search relevance is a major product differentiator. Its documentation demonstrates combining BM25 and nearest-neighbor retrieval with customizable ranking.
Qdrant also provides a useful reference for combining dense and sparse retrieval with multi-stage queries.
My recommendation
If I were designing a new large-scale hybrid search platform:
- Milvus for billion-scale vector infrastructure.
- Vespa for sophisticated search and ranking requirements.
- Weaviate for a balanced, relatively straightforward hybrid search implementation.
I would benchmark all three on the actual workload before committing. Published benchmarks often use different datasets, hardware, indexing parameters, and recall targets, so headline latency numbers aren't directly comparable.
Let's narrow down the best architecture
The most important question is your expected data scale.
1. How many vectors do you expect?
2. Deployment preference?
3. What's most important?
4. Primary workload?
[Recommend my architecture]
I can then give you a concrete architecture recommendation, including indexing strategy, hybrid scoring, sharding, replication, and expected operational trade-offs.
Pages cited in this answer 12
- milvus.ioMilvus | High-Performance Vector Database Built for Scale
- milvus.ioMilvus vector database documentation
- vespa.aiVespa.ai: AI Search Platform
- docs.vespa.aiHybrid Text Search Tutorial | Vespa Documentation
- weaviate.ioThe AI database developers love | Weaviate
- docs.weaviate.ioWeaviate Database | Weaviate Documentation
- qdrant.techQdrant - Vector Search Engine
- qdrant.techHybrid Queries - Qdrant
- pinecone.ioThe trusted AI knowledge company | Pinecone
- docs.pinecone.ioPinecone Database - Pinecone Docs
- learn.vespa.aiLab - Hybrid Search | Vespa Learn
- qdrant.techHybrid Search in Qdrant
- Vespa
ChatGPTOct 30, 2026
Best vector databases for hybrid search (2026)
My recommendation is Weaviate for the best out-of-the-box hybrid search experience, with Qdrant as a very strong alternative.
If you're building a search system that combines traditional keyword matching (BM25) with semantic/vector search, both are excellent choices.
However, the best database depends on how much control you want over ranking, filtering, performance, and infrastructure.
Top 5 options
1. Weaviate
(Best overall for hybrid search)
- Native BM25F + dense vector search.
- Configurable keyword/vector weighting (
alpha). - Relative-score and ranked fusion.
- Built-in filtering and reranking capabilities.
Why choose it: Excellent developer experience when you want keyword and semantic search in one query without building your own retrieval pipeline.
Documentation: urlHybrid searchturn465573search0 · urlHybrid query APIturn465573search3
2. Qdrant
(Best for retrieval flexibility)
- Dense vectors and sparse vectors.
- BM25 and learned sparse retrieval such as SPLADE.
- Reciprocal Rank Fusion (RRF) and Distribution-Based Score Fusion (DBSF).
- Multi-stage retrieval and reranking.
Why choose it: Particularly attractive if you want control over retrieval pipelines and expect to experiment with different embedding and sparse-retrieval models.
Documentation: urlHybrid and multi-stage queriesturn465573search1
3. Elasticsearch
(Best for traditional search systems)
- Mature BM25 full-text search.
- Dense vector and semantic search.
- Reciprocal Rank Fusion.
- Excellent filters, analyzers, facets, and ranking controls.
Why choose it: If your application is primarily a traditional search engine that you're enhancing with semantic capabilities, this is a particularly strong option.
Documentation: urlHybrid searchturn717926search2 · urlHybrid search featuresturn717926search7
4. Milvus
- Native BM25 full-text search.
- Dense and sparse vector retrieval.
- Weighted ranking and RRF.
- Multi-vector and multimodal retrieval.
Why choose it: A compelling option for large-scale vector workloads and sophisticated multi-retriever architectures.
Documentation: urlMilvus hybrid searchturn717926search1
5. Vespa
- BM25 and vector retrieval.
- Highly customizable ranking expressions.
- Multi-stage ranking and complex retrieval pipelines.
Why choose it: Best to investigate when building a sophisticated search platform with custom ranking logic, personalization, and large-scale serving.
Documentation: urlHybrid search tutorialturn465573search9
Feature comparison
Capability Weaviate Qdrant Elasticsearch Milvus Vespa Native keyword search Yes Yes Yes Yes Yes Dense vectors Yes Yes Yes Yes Yes Sparse vectors Yes Yes Yes Yes Yes Hybrid fusion Yes Yes Yes Yes Yes Custom ranking Good Very good Excellent Good Excellent Developer simplicity Excellent Very good Moderate Moderate More complex This is a qualitative assessment of documented capabilities, not a controlled performance benchmark.
Which one should you actually choose?
My ranking depends on the type of system you're building:
Your priority My choice Best out-of-the-box hybrid search Weaviate Flexible semantic + sparse retrieval Qdrant Advanced traditional search Elasticsearch Large-scale vector workloads Milvus Highly customized ranking engine Vespa Why hybrid search implementation matters
One important detail: combining keyword and semantic scores isn't as simple as adding them together.
BM25 and vector similarity scores operate on different scales. A good search engine needs a reliable fusion strategy.
Two particularly useful approaches are:
- Reciprocal Rank Fusion (RRF): Combines rankings rather than raw scores. A good starting point when you don't have labeled relevance data.
- Score-based fusion: Normalizes scores and combines them using configurable weights. Useful when you want to tune the importance of semantic versus keyword relevance.
Qdrant documents both RRF and DBSF, while Weaviate offers relative-score and ranked fusion.
My suggested architecture
For a production search system, I'd start with this pipeline:
User search query
Example: "lightweight laptop for software development"
Keyword search
BM25
Exact terms, names, IDs
Semantic search
Dense embeddings
Meaning and intent
Result fusion
(RRF recommended starting point)
Combine and rank candidates
Reranking
Optional cross-encoder or reranking model
Final ranked search results
One question that would change my recommendation
What kind of search system are you building?
1. What is the primary use case?
RAG / AI knowledge base / document search
Enterprise search across documents and databases
E-commerce / product search
General-purpose search engine
Something else
2. Expected data scale?
Under 1 million documents
1–100 million documents
100 million–1 billion documents
Over 1 billion documents
3. Deployment preference?
Managed cloud
Self-hosted / open source
Either is fine
[Get my recommendation]
I can then narrow this down to the best database, retrieval strategy, ranking algorithm, and implementation architecture rather than simply choosing the database with the most features.
Pages cited in this answer 2
Google AI ModeOct 30, 2026
When building a system that combines keyword search (lexical/BM25) and semantic search (dense vectors), "the best" vector database depends heavily on whether you want native sparse vector support, deep enterprise search maturity, or zero-ops managed convenience.
The top contenders for hybrid search capabilities stand out for distinct reasons:
- Weaviate — Best for Out-of-the-Box Maturity
- Why it excels: Weaviate was an early pioneer of native hybrid search, combining dense vectors with BM25 keyword matching and reciprocal rank fusion (RRF) out-of-the-box. It also supports built-in vectorization modules, meaning it can handle the text-to-embedding translation natively without requiring separate external API calls for every query.
- Qdrant — Best for Advanced & Cost-Effective Sparse/Dense Integration
- Why it excels: Qdrant supports native sparse vectors alongside dense vectors, allowing you to implement modern learned sparse representations (like SPLADE or miniCOIL) natively in the same index space. Coupled with its industry-leading payload filtering and lower self-hosted infrastructure costs, it is a favorite for production RAG pipelines.
- Elasticsearch / OpenSearch — Best if Keyword Search is Your Primary Engine
- Why it excels: If your application relies heavily on complex lexical queries, wildcards, fuzzy matching, and deep text analytics alongside vector embeddings, traditional search engines enhanced with dense/sparse vector capabilities (like Elasticsearch's
semantic_textor OpenSearch's neural search) offer the most robust text-processing toolsets.
- Why it excels: If your application relies heavily on complex lexical queries, wildcards, fuzzy matching, and deep text analytics alongside vector embeddings, traditional search engines enhanced with dense/sparse vector capabilities (like Elasticsearch's
- Pinecone — Best for Zero-Ops Managed Simplicity
- Why it excels: Pinecone provides integrated sparse-dense hybrid search capabilities alongside built-in inference and reranking features on a fully managed, serverless infrastructure. It’s ideal if you want high performance without managing cluster infrastructure.
- Milvus — Best for Massive Scale (100M+ Vectors)
- Why it excels: If your dataset enters the hundreds of millions or billions of items and requires heavy hybrid search performance backed by distributed architectures or GPU acceleration, Milvus handles the scale cleanly, though it demands more operational overhead (Kubernetes).
To help narrow down the ideal database for your architecture, could you share:
- Expected scale (number of documents/vectors)
- Deployment preference (fully managed cloud vs. self-hosted open source)
- How complex your keyword requirements are (basic BM25 vs. heavy synonyms, fuzzy matching, or aggregations)
want to build a RAG system over my company's knowledge base. What managed vector database is best for low-latency similarity search?
Summary
Qdrant is the usual answer for managed, low-latency similarity search over a company knowledge base.
Best vector database for document-heavy RAG?
Summary
The answers do not settle on one database for document-heavy RAG. Weaviate and Qdrant are noted for native hybrid capabilities.
Since Jul 5Data through Nov 19, 2026Based on 111 AI answers
For agents: this page as Markdown, https://parse.gl/topics/high-performance-metadata-filtering.md. JSON, MCP · free for the last 90 days, checks from $0.01
This page
Read and search
Connect
npx -y parse-gl check <domain>Copy the CLI commandAn agent can save work before signup: POST https://agent.parse.gl/v1/workspaces
What it costs
Prices: https://parse.gl/pricing.md
Map of the site: https://parse.gl/llms.txt