dase_batch_hnsw
DASE · Batched HNSW range probes for semantic join index construction in DASE.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102334 | dase_batch_hnsw | DASE | 1.0 | RAG | C |
PostgreSQL · 15, 16, 17, 18
| Relationships | |
|---|---|
| Requires | vector |
Usage
Sources:
dase_batch_hnsw provides batched HNSW range probes for the DASE research system. Its SQL version is 1.0. It compiles HNSW code from the same checkout’s modified pgvector and must use that matching fork and PostgreSQL server.
Core workflow
Install the matching extension files first. As a superuser, enable the dependency and inspect the functions:
The fixed bh schema exposes range_join_all and last_stats. The range-probe function accepts left_sql, right_index, radius, ef, mode and n_seeds. The left query supplies an int8 ID, a vector and an int4 group in processing order. Results contain left_id, right_tid and dist. Statistics describe the current backend’s most recent range-probe call.
Integration and boundaries
Upstream documents PostgreSQL 15 or later and supplies a PostgreSQL 18 Docker environment. The bundled vector fork supplies extra HNSW behavior; a stock pgvector installation is not an interchangeable dependency. The extension uses shared traversal to construct semantic join candidates; approximate probing can return a different pair set from the other DASE method.
The control file is nonrelocatable and the functions are native C code. The documented workflow uses a superuser. Only pass trusted SQL, matching vector dimensions and the intended HNSW index; preserve the matching fork for upgrades and recovery. No mandatory preload is documented. DASE’s datasets, Python runner and materialized join tables are separate from installing this extension, and the repository does not provide an explicit license for this component.