Semantic search is no longer a luxury. Postgres + pgvector + OpenAI embeddings = production-ready in an afternoon.

Stack

pgvector covers 95% of needs up to 10M vectors without adding a new service.

Pattern

Embed with text-embedding-3-small, store with HNSW index, query with cosine distance, optionally fuse with lexical search via RRF.