API Reference barrel_vectordb v#2.1.2

View Source

Modules

barrel_vectordb - Erlang Vector Database

barrel_vectordb application module

BM25 sparse embeddings (pure Erlang, in-memory)

Disk-Native BM25 Backend

BM25 Disk File I/O

Encryption plumbing for vectordb stores: builds the RocksDB EncryptedEnv from a resolved key and enforces a fail-closed open matrix through a cleartext CRYPTO key-check marker inside the store directory.

DiskANN Vamana Graph Implementation

DiskANN sector-aligned disk I/O

Vector Distance Computation Module

barrel_docdb-backed document backend for barrel_vectordb.

Document backend behaviour for barrel_vectordb.

HNSW (Hierarchical Navigable Small World) Implementation.

Vector index backend behaviour

FAISS backend wrapper for barrel_vectordb_index behaviour

HNSW backend wrapper for barrel_vectordb_index behaviour

Unified NIF wrapper for barrel_vectordb SIMD operations.

Product Quantization for DiskANN

Local name registry for vector stores and their companions.

Per-store gen_batch_server managing RocksDB, vector index, and embeddings

Vector store gen_server managing RocksDB and HNSW index

barrel_vectordb top level supervisor

TurboQuant: Data-oblivious 3-bit vector quantization

Subspace-TurboQuant: O(D/M) scalable vector quantization