Databases · head to head
Elasticsearch vs Milvus

Elasticsearch
Databases
The heart of the Elastic Stack for search and analytics
- From
- Free
- Free plan
- Yes

Milvus
Databases
Open-source vector database for scalable similarity search
- From
- Free
- Free plan
- Yes
The short version
- Milvus is an open-source vector database.
- Milvus is free; Elasticsearch starts at $16.4/mo.
- Only Elasticsearch lists real-time Analytics; only Milvus lists billion-scale vectors.
- Where Elasticsearch falls short: eventual consistency model with 1-second default refresh interval, not suitable for real-time transactional requirements.
- Where Milvus falls short: vector dimensions are capped at 32,768.
How do Elasticsearch and Milvus differ?
Elasticsearch and Milvus differ on platforms and year founded (2010 against 2017). Only the attributes on which Elasticsearch and Milvus actually diverge.
| Attribute | Elasticsearch | Milvus |
|---|---|---|
| Platforms | Linux, Windows, macOS, Self-hosted | Linux, macOS, Windows, Web |
| Founded | 2010 | 2017 |
Identical on both: starting price (Free), free tier (Yes), category (Databases).
Not yet recorded: pricing model for Elasticsearch.
Which features does each one have?
They share 4 listed features; 13 appear only for Elasticsearch and 10 only for Milvus. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Elasticsearch
- Full-text Search
- Real-time Analytics
- Distributed Architecture
- RESTful API
- Schema-free JSON
- Aggregations
- Machine Learning
- Kibana
Only in Milvus
- Billion-scale vectors
- Multiple index types
- GPU acceleration
- Hybrid search
- Data partitioning
- PyTorch
- TensorFlow
- Hugging Face
Both cover
- Linux support
- Windows support
- Mac support
- Web support
What is each one used for?
Elasticsearch is most often brought in for real-time applications; Milvus for self hosting a vector database for semantic search. The jobs each tool is most often brought in to do.
Elasticsearch
- Real-time applicationsnot Milvus
- Content managementnot Milvus
- User profilesnot Milvus
- Mobile backendsnot Milvus
- Cachingnot Milvus
Milvus
- Self hosting a vector database for semantic searchnot Elasticsearch
- Storing and querying embeddings for retrieval augmented generationnot Elasticsearch
- Similarity search over images, audio or text at scalenot Elasticsearch
Where do Elasticsearch and Milvus fall short?
Elasticsearch's most cited limit: eventual consistency model with 1-second default refresh interval, not suitable for real-time transactional requirements. Milvus's: vector dimensions are capped at 32,768. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Elasticsearch
- Eventual consistency model with 1-second default refresh interval, not suitable for real-time transactional requirements
- No support for ACID transactions or rollbacks; updates delete and re-insert documents
- JVM-dependent architecture requires careful memory management and monitoring to prevent garbage collection issues at scale
Milvus
- Vector dimensions are capped at 32,768
- A collection is limited to 64 fields, 1,024 partitions and 16 shards
- Only 1 index is allowed per field
- Search returns at most 16,384 vectors as top-k, and nq is capped at 16,384
- Input and output per RPC is capped at 64 MB for insert, search and query
- VARCHAR values are limited to 65,535 characters
- Data loaded into query nodes cannot exceed 90% of available memory
- An instance supports at most 65,536 collections
How much do Elasticsearch and Milvus cost?
Elasticsearch has a free plan, with paid plans from $16.4/mo; Milvus is free to use. Plan by plan below, from each vendor's own pricing page.
Elasticsearch
Free- Self-ManagedFree
- Open source
- Self-hosted
- Elasticsearch Cloud$16.4/mo
- Managed service
- 14-day free trial
Milvus
Free- Open SourceFree
- Full features
- Self-hosted
- Community support
- Zilliz CloudFree
- Managed service
- Free tier available
Which should you pick?
Choose Elasticsearch if
- You need full-text search.
- You want to start without paying.
- You work on Linux, Windows, macOS, Self-hosted.
- You also want real-time analytics.
Choose Milvus if
- You need billion-scale vectors.
- You want to start without paying.
- You work on Linux, macOS, Windows, Web.
- You also want multiple index types.
Questions people ask
- Is Elasticsearch or Milvus better?
- It depends on the job. Elasticsearch fits real-time applications; Milvus fits self hosting a vector database for semantic search. Elasticsearch starts at Free and Milvus at Free.
- Which is cheaper, Elasticsearch or Milvus?
- Elasticsearch starts at Free and Milvus at Free.
- Does Elasticsearch or Milvus run on more platforms?
- Elasticsearch runs on Linux, Windows, macOS, Self-hosted. Milvus runs on Linux, macOS, Windows, Web.
- Can I use Elasticsearch for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Elasticsearch best used for?
- Elasticsearch is most often used for real-time applications, content management, user profiles, mobile backends. Of those, real-time applications and content management are not what Milvus is typically brought in for.
- What can Elasticsearch do that Milvus cannot?
- Elasticsearch covers Full-text Search, Real-time Analytics, Distributed Architecture, RESTful API. Milvus covers Billion-scale vectors, Multiple index types, GPU acceleration, Hybrid search. Both handle Linux support, Windows support, Mac support, Web support.
Answered from the vendors’ own pages
Elasticsearch: Is Elasticsearch free?
Yes, Elasticsearch can be deployed as free and open-source software for self-managed installations. Elastic Cloud managed service starts at $16.40 per month, with a free 14-day trial available.
SourceMilvus: How much does Milvus cost?
Milvus is open-source and free to use and modify. The self-hosted version has no licensing cost. Zilliz Cloud (the managed SaaS version) does not publish pricing on the website.
SourceElasticsearch: Can I use Elasticsearch without Kibana?
Yes, Elasticsearch is a search engine independent of Kibana. Kibana is a visualization and analytics tool that works with Elasticsearch but is optional. You can use the Elasticsearch API directly for searching.
SourceMilvus: Is there a free or open-source version of Milvus?
Yes, Milvus is fully open-source and available for free. Milvus Lite is a lightweight option for learning and prototyping that can be installed via pip.
SourceElasticsearch: Does Elasticsearch support real-time indexing?
Elasticsearch indexes data with a refresh interval, typically 1 second. Data becomes searchable after the refresh cycle, making it near-real-time but not instantaneous. This can be configured but impacts performance.
SourceMilvus: Does Milvus offer a managed cloud service?
Yes, Zilliz Cloud is a fully managed Milvus cloud offering with serverless and dedicated cluster options. Pricing must be requested from the company as it is not listed on the public website.
SourceElasticsearch: What are Elasticsearch's scaling limitations?
Elasticsearch requires careful operational management at scale, including shard balancing, heap sizing, and monitoring. Large clusters can suffer from garbage collection issues and become expensive to operate.
SourceElasticsearch: Does Elasticsearch support transactions and rollbacks?
No, Elasticsearch does not support ACID transactions or rollbacks. Updates are expensive operations that delete and re-insert documents, making it unsuitable for transactional workloads.
SourceRelated pages
More on Elasticsearch
Other head to heads
- Elasticsearch vs OpenSearch
- Elasticsearch vs Cassandra
- Elasticsearch vs Meilisearch
- Elasticsearch vs Typesense
- Elasticsearch vs Vespa
- Elasticsearch vs Neo4j
- Elasticsearch vs Marqo
- Elasticsearch vs DynamoDB
- Elasticsearch vs turbopuffer
- Elasticsearch vs SingleStore
- Elasticsearch vs Couchbase
- Elasticsearch vs Immuta
- Elasticsearch vs InfluxDB
- Elasticsearch vs Knack
- Elasticsearch vs QuestDB
- Elasticsearch vs RisingWave
- Elasticsearch vs ScyllaDB
- Elasticsearch vs Apache Solr
- Elasticsearch vs Weaviate
- Elasticsearch vs Pinecone
- Elasticsearch vs Qdrant
- Elasticsearch vs Chroma
- Elasticsearch vs NATS
- Elasticsearch vs Apache Pulsar
- Elasticsearch vs DuckDB
- Elasticsearch vs dbt
- Elasticsearch vs Dgraph
- Elasticsearch vs Google Cloud SQL
- Elasticsearch vs Instaclustr
- Elasticsearch vs MotherDuck
- Elasticsearch vs Navicat
- Milvus vs OpenSearch
- Milvus vs Cassandra
- Milvus vs Meilisearch
- Milvus vs Typesense
- Milvus vs Vespa
- Milvus vs Neo4j
- Milvus vs Marqo
- Milvus vs DynamoDB
- Milvus vs turbopuffer
- Milvus vs SingleStore
- Milvus vs Couchbase
- Milvus vs Immuta
- Milvus vs InfluxDB
- Milvus vs Knack
- Milvus vs QuestDB
- Milvus vs RisingWave
- Milvus vs ScyllaDB
- Milvus vs Apache Solr
- Milvus vs Weaviate
- Milvus vs Pinecone
- Milvus vs Qdrant
- Milvus vs Chroma
- Milvus vs NATS
- Milvus vs Apache Pulsar
- Milvus vs DuckDB
- Milvus vs dbt
- Milvus vs Dgraph
- Milvus vs Google Cloud SQL
- Milvus vs Instaclustr
- Milvus vs MotherDuck
- Milvus vs Navicat
