Text, Filters, and Now Vectors in One Postgres Index
ParadeDB’s announcement (19 November 2026) of native vector search inside the same PostgreSQL index that already serves its text search and filters. The argument: Postgres vector extensions trip on filtering, memory and continuous updates, and putting vectors and filterable fields in one index fixes the first two. Continuous updates are still in development. Benchmarked against Turbopuffer, VectorChord and pg_vectorsearch.
Source: https://www.paradedb.com/blog/filter-aware-vector-search · Available in ParadeDB 0.27.0 and later.
The filter problem
With pgvector and the other Postgres vector extensions, filters are applied after vector candidates are found, so under a 1% selectivity filter only about 1 in 100 vectors read and scored can make it into the results — the rest is wasted work, and more selective filters force deeper, more expensive probing. Other extensions keep separate indexes for vectors and other fields. See Vector Filtering.
Filter-aware: one index, a bitset first
Vectors are indexed alongside the text and range fields (CREATE INDEX … USING paradedb (id, title, ("by"::pdb.literal), time, emb vector_cosine_ops)). Before any vector work, ParadeDB evaluates the filters into a bitset of matching document IDs; during the scan each candidate’s ID is checked against the bitset before its vector is loaded or scored, so a failing candidate costs a bitset check instead of a distance computation.
Cluster-based, not HNSW
ParadeDB chose a cluster index (IVF-style) over HNSW because cluster vectors are stored contiguously and read sequentially, while HNSW hops can turn into random disk reads once the index is larger than memory — the reason, the authors say, pgvector users end up sizing memory to the index, and why they are “skeptical of any HNSW-based vector index’s ability to scale”. Drawing on the SPANN and Quake papers, search runs in three steps:
- Find promising clusters through a hierarchy of centroids (clusters over clusters, from Quake), so the centroid list scales.
- Scan clusters on quantized vectors: two layers of 1-bit quantization — the first on the residual from the centroid, the second on the error left by the first — with boundary replication from SPANN (a vector near two clusters is stored in both). Filters are applied here.
- Rescore survivors at full precision (Full-Precision Rescoring). On MS MARCO, only a few hundred candidates reach this step.
Bounded memory at build time
k-means memory normally grows with the dataset. ParadeDB uses a streaming k-means that reads vectors in batches; its open-source implementation is a Rust port of SuperKMeans (a C++ library from CWI) with streaming, cluster balancing and boundary replication added. All benchmarks ran in 32 GB containers with 8 GB maintenance_work_mem; MS MARCO’s embeddings alone are about 430 GB of floats. Under that limit only ParadeDB built MS MARCO at default settings: VectorChord ran out of memory and needed its k-means sampling rate lowered, and pg_vectorsearch had a memory leak the authors fixed. Index build on 113M vectors: ParadeDB 145.4 min, pg_vectorsearch 181.6, Turbopuffer 298.3 (full load-and-index time including network), VectorChord 554.1.
Results
Postgres runs: AWS c8gd.metal-24xl with local NVMe, each database in a container capped at 8 CPUs and 32 GiB, 8 GB shared_buffers so most of the index cannot be cached; warm runs, one client, top-10.
- Hacker News (28M rows), 0.01% text filter: ParadeDB 90.32 QPS at 100% recall, Turbopuffer 23.28 at 99.1%, VectorChord 0.12 at 99.2%, pg_vectorsearch about 0.01 (estimated; reached only 78% against a 99% target). At 0.01% and 0.001% text filters ParadeDB reports 3.9× and 5.6× Turbopuffer’s throughput.
- Six filters from 10% to 0.001%, three recall targets: ParadeDB reached all 18 targets, VectorChord 16, pg_vectorsearch 3; pg_vectorsearch’s best recall on the 0.001% text filter was 16.4%.
- Cohere 10M, 1% filter, 95% target: VectorChord’s throughput fell 70× versus unfiltered, pg_vectorsearch’s an estimated 92×; the authors describe ParadeDB’s filtered queries as similarly fast to unfiltered at a given recall target.
- MS MARCO (113M), unfiltered: 1.7× Turbopuffer’s throughput at 95.2% vs 94% recall; 2.0–9.5× VectorChord’s; ahead of pg_vectorsearch in four of five comparisons where both hit target (pg_vectorsearch led at top-10, 90%).
Caveats the authors state
- The Turbopuffer comparison is not apples-to-apples: recalls differ (ParadeDB has a query-time recall knob, Turbopuffer tunes itself), Turbopuffer’s hardware is unknown, and it pays sub-1 ms network latency. “We are not claiming to be faster than Turbopuffer, even if it appears that way.”
- Where a recall target was missed, QPS is estimated from average query time at the best recall reached.
- MS MARCO has no filterable fields, so filtered runs use Hacker News; Turbopuffer loaded the 24.1M rows with embeddings, Postgres all 28.7M.
- VectorChord’s MS MARCO numbers come from a 64-CPU run without the Docker CPU limit, pending an 8-CPU rerun.
- Vector search is ready for mostly static datasets; continuous updates (cluster rebalancing via SPFresh plus segment partitioning) are next.
- A vendor benchmark; the harness is published as
benchmarkerfor verification.
Counterpoint
The same day, Big Graphs, Small Vectors - HNSW at a Billion makes the case for HNSW at a billion vectors — by keeping the whole graph in memory with 2-bit vectors and only rescoring from NVMe, which sidesteps the random-read problem this post builds its design around.
Related Concepts
- Vector Filtering · ACORN-1 · IVF · HNSW · Binary Quantization · Full-Precision Rescoring · Hybrid Search