geo_vec
pg_geo_vec · Composite vector similarity and spatial filtering indexes derived from DiskANN
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102110 | geo_vec | pg_geo_vec | 0.1.0 | RAG | MIT | Rust |
PostgreSQL · 17, 18
Usage
Sources:
geo_vec combines vector nearest-neighbor search and geographic bounding-box filtering in one index. This source preview forks the DiskANN implementation from pgvectorscale and declares a separate extension identity.
Core Workflow
Operational Boundaries
Requires vector and postgis, and installation requires a superuser. The README supports PostgreSQL 17 and later; the reviewed manifest includes 17 and 18 features. Older feature flags alone are not a compatibility guarantee. No preload or restart is documented.
The access method supports cosine, L2 and inner-product vector operator classes, geometry bounding boxes and optional smallint-array labels. geo_vec.query_search_list_size and geo_vec.query_rescore trade query work for recall. geo_vec.spatial_brute_force_threshold selects exhaustive scanning for small spatial candidate sets; larger regions use approximate graph search. Measure recall on the target workload and use matching geometry coordinate systems.
Index builds consume memory and storage. Native builds require suitable AVX2/FMA or NEON support. The catalog records source availability, not a tested Pigsty package matrix.