Vector search solution overview
offers two vector search solutions: a built-in plugin in the engine based on an optimized version of pgvector, and an add-on PolarSearch node for distributed vector search.
engine
The vector search feature in the engine is built on a highly optimized, proprietary version of pgvector and is fully compatible with standard pgvector usage. Key capabilities:
Hybrid search across multimodal data, including structured data, graphs, and full-text search.
Linear performance scaling by adding read-only nodes (RO nodes), supporting tens of thousands of QPS.
Multiple quantization algorithms — PQ, SQ4, SQ8, and RabitQ — for up to 32x memory compression with high recall.
Vector search on datasets from millions to billions of vectors.
For details, see quantization algorithms and scalar filtering.
PolarSearch distributed vector search engine
PolarSearch is a dedicated search engine compatible with the Elasticsearch and OpenSearch ecosystems. Add a PolarSearch node to your cluster to run hybrid vector and full-text search at scale. Key capabilities:
Specialized hybrid search combining full-text and vector search.
Distributed high-performance search on datasets up to tens of billions of high-dimensional vectors.
Quantization algorithms with multiple compression levels plus on-demand vector loading to balance performance and memory cost.
Flexible ingest pipelines and search pipelines for advanced ML computation, including automatic embedding and reranking.
Choose a solution
Use the following table to select the solution that fits your workload.
|
PolarDB for PostgreSQL engine (pgvector) |
PolarSearch node |
|
|
Deployment |
Built-in plugin, no additional nodes |
Add-on node to your cluster |
|
Compatibility |
Standard pgvector API |
Elasticsearch and OpenSearch ecosystems |
|
Dataset scale |
Millions to billions of vectors |
Up to tens of billions of vectors |
|
Search types |
Vector, full-text, and hybrid search |
Vector, full-text, and specialized hybrid search |
|
Scaling |
Add RO nodes for linear QPS scaling |
Distributed architecture |
|
Best for |
Existing pgvector users and PostgreSQL-native workloads |
Large-scale or Elasticsearch/OpenSearch-compatible workloads |
Get started
Choose a solution using the table above.
Create a vector index for your chosen solution.
Ingest your data.
Run vector or hybrid search queries.