Data
Vector Search
Choose where vectors are stored, indexed, filtered, and queried by corpus, metadata, latency, scale, ownership, and cost.
Recommendation
Choose the retrieval boundary after proving vector similarity is needed.
Four vector retrieval boundaries
Embedding generation is separate; this decision owns vector storage, indexing, filtering, query execution, and synchronization.
Retrieval contract
Define similarity metric, top-k, recall and latency targets, metadata filters, hybrid needs, update and deletion behavior, and evaluation method.2
Vector-search routes
Choose the smallest retrieval system that meets measured quality, filtering, latency, and scale requirements.
Vectors should stay with PostgreSQL data
Evaluate pgvector.
SQL joins, transactions, and one operational system can be more valuable than specialized vector infrastructure for moderate workloads.
Verify: Index tuning, memory, query performance, scaling, replication, and contention remain PostgreSQL responsibilities.12
Managed vector operations are the priority
Evaluate Pinecone.
A vector-specific managed service can remove cluster operation and provide a dedicated API and scaling model.
Verify: Corpus, filtering, latency, regions, data movement, usage units, and vendor-specific APIs must fit.12
You want a vector-native engine and deployment choice
Evaluate Qdrant.
Payload filtering and self-hosted or managed routes suit teams balancing engine control and delegated operation.
Verify: Self-hosting transfers reliability and security work; managed clusters require resource and billing planning.123
A broader vector platform fits
Evaluate Weaviate.
Collection modeling, query capabilities, deployment options, modules, and integrations can support a broader retrieval architecture.
Verify: Platform breadth, resource sizing, module choices, deployment, and cloud billing add complexity beyond a minimal index.124
Boundary: Embedding model selection and evaluation belong to AI Tasks. Lexical keyword and product retrieval belong on Lexical & Product Search; hybrid systems must define both owners.
What changes between routes
Retrieval quality must be evaluated on representative queries; infrastructure labels do not prove recall or application usefulness.
- Co-location
- PostgreSQL keeps transactional records, metadata, permissions, and vectors together; dedicated systems require synchronization.12
- Index and filtering
- Index families, build time, update behavior, metadata filters, hybrid retrieval, and consistency differ.23
- Scale ownership
- Database tuning, self-hosted clusters, managed capacity, and serverless usage move work and risk differently.23
- Portability
- SQL extensions, vector APIs, collection schemas, modules, and integrated services create different exit costs.4
Official resources
Use the primary documentation to validate product boundaries, operating behavior, limits, and current commercial terms.
Sources
Official documentation supporting the decision routes and their boundaries.
- 1pgvector source and documentation
pgvector · Accessed Official
- 2Pinecone overview
Pinecone · Accessed Official
- 3Qdrant documentation
Qdrant · Accessed Official
- 4Weaviate documentation
Weaviate · Accessed Official