The strongest OpenSearch vector database alternatives are pgvector on Postgres (including Aurora and RDS), Elasticsearch, Qdrant, Weaviate, Milvus, Pinecone, Vespa, LanceDB and Amazon S3 Vectors. If you already run Postgres, start with pgvector. If you need low-cost storage for large, rarely queried vector sets on AWS, look at S3 Vectors. Pick a dedicated vector engine when scale or query speed outgrows both.
OpenSearch itself is Apache 2.0 and supports k-NN, sparse vectors and hybrid queries. Teams look elsewhere to run fewer systems, cut cost or get a simpler API.
Quick comparison
| Option | Hosting model | Open-source license | Hybrid search | A good fit |
|---|---|---|---|---|
| pgvector | Self-host, or managed Postgres (Aurora, RDS) | PostgreSQL License | Yes, with Postgres full-text search | Teams already on Postgres |
| Elasticsearch | Self-host, Elastic Cloud | AGPLv3, SSPL or ELv2 (your choice) | Yes, RRF built in | Teams already on the Elastic Stack |
| Qdrant | Self-host, Qdrant Cloud | Apache 2.0 | Yes, RRF or DBSF fusion | Fast filtered vector search |
| Weaviate | Self-host, Weaviate Cloud | BSD 3-Clause (core) | Yes, BM25F plus vectors | Built-in hybrid with one knob |
| Milvus | Self-host, Zilliz Cloud (incl. BYOC) | Apache 2.0 | Yes, BM25 plus dense vectors | Very large vector collections |
| Pinecone | Managed service, BYOC option | Not open source | Yes, filter-then-rank or client-side RRF | No-ops managed vectors |
| Vespa | Self-host, Vespa Cloud | Apache 2.0 | Yes, custom rank profiles | Complex ranking at scale |
| LanceDB | Embedded in your app, local or object storage | Apache 2.0 | Yes, RRF by default | Lightweight or serverless apps |
| Amazon S3 Vectors | Fully managed AWS service | Not open source | Yes, BM25 plus vectors with RRF | Large, infrequently queried sets on AWS |
pgvector (Postgres, Aurora, RDS)
pgvector adds vector columns and HNSW or IVFFlat indexes to Postgres. Its license is the permissive PostgreSQL License. The README suggests pairing it with Postgres full-text search for hybrid search. Aurora PostgreSQL ships pgvector and can act as a vector store for Amazon Bedrock Knowledge Bases.
Pick it when:
- Your source data already lives in Postgres.
- You want vectors, filters and joins in one SQL query.
- You'd rather run one database than two.
Elasticsearch
Elasticsearch source is available under AGPLv3, SSPL or ELv2. It supports hybrid search with an RRF retriever, self-managed or on Elastic Cloud. Its RRF retriever fuses BM25 and kNN results.
Pick it when:
- You came from Elasticsearch before the OpenSearch fork, or never left.
- You need mature text search, aggregations and dashboards.
Qdrant
Qdrant is Apache 2.0, with a managed Qdrant Cloud. Its Query API runs dense and sparse prefetches and fuses them with RRF or DBSF.
Pick it when:
- Vector search is the main workload, not a side feature.
- You filter heavily on payload fields.
Weaviate
Weaviate's core is BSD 3-Clause; some enterprise features need a commercial license. Its hybrid search blends BM25F and vector results, with an alpha setting from pure keyword to pure vector.
Pick it when:
- You want hybrid search without writing fusion code.
- You like a schema-first, object-style API.
Milvus
Milvus is Apache 2.0 under the LF AI & Data Foundation. Zilliz Cloud offers it managed, including BYOC. It supports BM25 full-text search on raw text and hybrid search with dense vectors.
Pick it when:
- Collections are very large and still growing.
- You want an open-source engine with a managed path in your own cloud.
Pinecone
Pinecone is a managed, closed-source service. It offers hybrid search by filtering then ranking, or by fusing separate searches with RRF. Bring Your Own Cloud runs the data plane in your AWS, GCP or Azure account.
Pick it when:
- You want no database operations at all.
- BYOC meets your data-residency rules.
Vespa
Vespa is Apache 2.0. It combines BM25 and nearest-neighbor search in custom rank profiles, including RRF and linear blends. Vespa Cloud runs in AWS, Azure and GCP, including in your account.
Pick it when:
- Ranking logic is your product, as in search or recommendations.
- You need text, vectors and structured fields in one query.
LanceDB
LanceDB is Apache 2.0 and runs embedded in your process, on local disk or object storage. It supports hybrid search with RRF as the default reranker.
Pick it when:
- You don't want to run a database server.
- Data sits in object storage next to your app.
Amazon S3 Vectors
S3 Vectors adds vector buckets and indexes to S3. AWS cites sub-second latency for infrequent queries and as low as 100 ms for frequent ones. Since November 2026 it supports hybrid search with BM25 and RRF. It plugs into Bedrock Knowledge Bases and can export to OpenSearch Serverless for high-QPS search.
Pick it when:
- You store many vectors but query them rarely.
- You're on AWS and want nothing to provision.
When to stay with OpenSearch
Stay when:
- You already run OpenSearch for logs or search and it performs well.
- You need text search, aggregations, filters and vectors in one engine.
- You're on Amazon OpenSearch Service and want S3 Vectors as a cheaper storage tier behind the same APIs.
How to choose
- List where the source data lives today: Postgres, S3, Elasticsearch or elsewhere.
- Estimate vector count in two years and queries per second.
- Write down hosting rules, such as running in your own cloud account.
- Load the same sample data into two or three shortlisted options and test hybrid search on real queries.
- Pick the one that meets quality and latency with the fewest new systems.
FAQ
Is pgvector good enough to replace OpenSearch?
For many RAG workloads, yes, especially when the data is already in Postgres. Test with your real vector count and filters first.
Which alternatives are fully open source?
pgvector, Qdrant, Milvus, Vespa and LanceDB use permissive licenses. Weaviate's core is BSD. Elasticsearch offers AGPLv3 among its options.
Can vectors stay inside your own AWS account?
Yes. Aurora or RDS with pgvector and S3 Vectors are AWS services. Pinecone, Zilliz and Vespa Cloud offer options that run in your account.
Does Amazon S3 Vectors replace OpenSearch?
Not always. It suits large, infrequently queried sets. For high-QPS, low-latency search, AWS points to exporting to OpenSearch Serverless.
Planning a vector store for your own cloud? Request a free one-pager, or see how we take pilots to production.
