Postvec

postvec.dev

PostgreSQL extension for hybrid BM25 and semantic search, with embedding migration without re-embedding.

Pricing
Open source
Published
Nov 26, 2026

Next steps

What it does

Postvec is a PostgreSQL extension that fuses BM25 and semantic search in one SQL call and keeps vectors in sync with your text. postvec.migrate converts stored vectors between embedding formats through an embedding-space translator, so source text is not re-embedded. Inference runs inside PostgreSQL or on postvec-server or hosted APIs. Supports PostgreSQL 16, 17 and 18. PostgreSQL License.

Use cases

  • Run BM25 plus semantic search in one SQL call inside PostgreSQL
  • Keep vectors in sync with your text automatically
  • Switch embedding models without re-embedding the source text

Frequently asked questions

What is Postvec?
A PostgreSQL extension for fused hybrid search that combines BM25 and semantic search in one SQL call and keeps vectors in sync with your text.
What is the migration feature?
postvec.migrate converts stored vectors between embedding formats through an embedding-space translator, so old rows need no re-embedding; new writes use the new model.
Which PostgreSQL versions are supported?
The README lists PostgreSQL 16, 17 and 18, with a one-container quick start.
What is the license?
The PostgreSQL License, per the README.
Log in to join the discussion