Recern Vector · Documentation

Recern Vector documentation

Recern Vector 1.0.0 is an embedded vector database with a local snapshot and a WAL. You open it from Python, Rust, Node.js or the command line, add vectors with JSON metadata, and search them with an HNSW index. Every search can report how it ran, and every collection can report the state of its index and measure its own recall. Version 1.0.0 provides a separate single-node HTTP server and portable Python, Rust and Node clients, including SDK migration and interoperability tests. See the release guide for packages, native archives and compatibility.

Version 1.0.0. Stable public APIs, a documented compatibility policy, stronger input validation and crash recovery. Snapshot formats 1/2/3 and HTTP/profile/export v1 remain unchanged. See the release guide.

Workspace 1.0.1 reads formats 1/2/3, including committed WAL changes. Upgrade older Workspace 1.0.0 installations; see release compatibility.

When it fits

  • Semantic search, RAG retrieval or recommendations inside an application: a desktop app, a script, a notebook, a backend process that owns its data.
  • Up to a few million vectors that fit in memory.
  • You want to see what the index is doing: why a query was slow, whether a filter was applied efficiently, what recall you actually get.

When it does not

  • Many processes writing directly to the same database file. Use a single database owner. The HTTP server serializes HTTP access to its own database; it is not a distributed or highly available service.
  • Data much larger than memory. The whole database is loaded on open.
  • You need a larger-than-memory engine or bounded latency regardless of maintenance. Format-3 saves encode changed records, but open/checkpoint still process a full image and cached pages add RAM and padding. Format-2 saves retain full-image encoding (see Limitations and next work).

The 1.0 API and recovery audit describes the fixes, tested failure boundaries and recovery procedure.

Contents

Page What it covers
1.0.0 release Packages, native artifacts, checksums and upgrade compatibility
Persistence in 0.5.0 Incremental pages, checkpoint policy, upgrade, recovery and measured limits
Getting started Install, then a first database from Python, Rust, Node.js and the CLI
First vector search A complete Python example, filtered results, query inspection and Workspace compatibility
Concepts Databases, collections, records, metrics, the HNSW index, saving, threads
Filters Metadata filter syntax and how filtered searches are planned
Inspecting and tuning explain, stats, estimate_recall, choosing ef, compact
Python API Every class, method and exception in the recern_vector package
Portable clients Python remote, Rust and Node across embedded Recern, Recern HTTP and Qdrant
Portable Python API Profile v1, embedded/Qdrant backends, shared semantics and capabilities
HTTP API v1 contract Released OpenAPI, wire values, authentication, durable writes, generations and snapshot leases
HTTP server Build and run, release status, limits, single-writer ownership, recovery and TLS proxy guidance
Export and migration Consistent snapshots, JSONL manifests, dry-run, resume and verification
Rust API The recern-vector crate
Node.js Native builds, TypeScript definitions and asynchronous search
Command line The recern-vector command
File format What is inside a .rvec file
Limitations and next work Current bounds and what comes next
1.x compatibility policy Public API stability, deprecation, HTTP version matrix and distribution validation

Runnable examples are in examples/. The benchmark report includes 0.5 development-engine persistence and full SIFT1M/GloVe-100 f32/int8 measurements, with their original provenance; they are not new 1.0.0 performance measurements. Historical 0.4.0/faiss results remain separately labeled. The earlier comparison with LanceDB and sqlite-vec is kept in the historical report.

See Node.js and the durability contract.

Edit this page on GitHub