Prompt
Can you help me decide if Elasticsearch vector search is enough or if I should move to a dedicated vector DB?
Latest observation
Yes — a lot of teams can stay on Elasticsearch for vector search, but whether it’s “enough” depends on what matters most in your workload: retrieval quality, latency, scale, filtering, operational simplicity, and cost.
Here’s a practical way to decide.
When Elasticsearch vector search is usually enough
Stick with Elasticsearch if most of these are true:
- You already use Elasticsearch for logs/search/metadata and want one system.
- Your vector use case is RAG / semantic search / hybrid search, not ultra-high-scale ANN-only retrieval.
- You need strong filtering + text search + vectors together.
- Your corpus is moderate in size and query volume is not extreme.
- You prefer operational simplicity over squeezing out the last bit of vector performance.
- You can tolerate some tradeoff between latency, recall, and indexing speed.
Elasticsearch is often a great fit when vector search is part of a broader search app:
- keyword + semantic hybrid retrieval
- faceted search with metadata filters
- document search over product catalogs, support articles, internal docs
- RAG pipelines where “good enough” retrieval is acceptable
When a dedicated vector DB is worth it
Consider a vector DB if you need several of these:
- Very high QPS on vector queries
- Low-latency ANN search at large scale
- Very large vector collections with fast indexing
- Frequent updates / deletes with high throughput
- Vector-first features like advanced ANN tuning, vector-native sharding, hybrid ranking designed around embeddings
- Simpler scaling for vectors independent of text search
- High recall requirements where ANN performance matters a lot
- Heavy multi-tenant isolation or per-collection scaling needs
Vector DBs tend to shine when vector retrieval is the core product requirement rather than an add-on.
The biggest decision factor: what is the bottleneck?
If your bottleneck is:
- Text search + filters + business logic → Elasticsearch is usually fine
- Vector ANN latency / throughput / scale → dedicated vector DB may be better
- Indexing complexity / ops overhead → Elasticsearch can reduce system sprawl
- Need for specialized vector tuning → dedicated vector DB
A simple rule of thumb
- If your app is search-heavy with vectors added in → start with Elasticsearch
- If your app is vector-heavy with search added in → use a vector DB
Good signs you should stay on Elasticsearch
- You’re under pressure to ship quickly
- Your relevance is acceptable
- Your latency is okay after tuning
- You rely heavily on metadata filters and keyword fallback
- You don’t want two search systems
- Your team is already skilled with Elasticsearch
Good signs you should migrate
- You’re hitting latency targets only with aggressive compromises
- Vector queries dominate traffic and Elasticsearch is becoming expensive
- You need to scale embeddings independently from text indexing
- You’re doing retrieval at a scale where ANN tuning is a core concern
- Your search stack is becoming hard to operate in one cluster
- You want features that your current ES version/config can’t easily support
Practical recommendation
If you’re unsure, do this:
-
Benchmark Elasticsearch on your real workload
- measure p95/p99 latency
- measure recall@k
- measure indexing time
- test your real filters and query mix
-
Compare against a vector DB with the same dataset
- same embeddings
- same top-k
- same filters
- same hardware if possible
-
Decide based on a threshold
- if ES meets latency + recall + ops goals, keep it
- if not, move vector search out
In many cases, the answer is:
- Elasticsearch for hybrid retrieval and filters
- Dedicated vector DB only when vector search becomes mission-critical at scale
My bias, if you want the shortest answer
- Use Elasticsearch if you want one system and your vector needs are moderate.
- Move to a vector DB if vector search is a core capability and you’re pushing scale/latency/recall hard.
If you want, I can help you make this decision with a quick checklist. If you share:
- approximate number of vectors
- embedding dimension
- query QPS
- latency target
- filtering needs
- update/delete rate
- whether you need hybrid search
…I can give you a more concrete recommendation.
Brands