Skip to main content

Crate vlajmaji_store

Crate vlajmaji_store 

Source
Expand description

Concrete local persistence for the accepted source-preserving lexical archive.

The archive remains canonical. SQLite/FTS5 and optional disk Oxigraph/RocksDB are rebuildable indexes; this crate does not normalize spelling or merge sources.

Structs§

DictionaryStore
A complete dictionary store held on one validated read-only SQLite snapshot.
EdgeHit
One edge traversed by a cross-reference query.
SearchResult
Complete, comparable result from one native query execution.
SqliteStore
A synchronous SQLite/FTS5 database in a caller-owned directory.

Enums§

DictionaryStoreError
Failure to create or strictly open an immutable dictionary store.
DictionaryStoreInvalidity
A typed reason that an existing dictionary store is not acceptable.
PresenceState
Field-state selector for SearchQuery::Field.
SearchQuery
A finite, backend-independent query accepted by both local stores.
StoreError
Typed failure from opening, building, or querying a local native store.

Traits§

LexicalStore
Native disk-store API shared by the concrete backends.

Functions§

archive_sha256
Computes the lowercase hexadecimal SHA-256 of archive bytes.
record_id
Computes the stable lowercase hexadecimal identifier used by this store for one source record identity. The encoding is the byte-exact tuple (snapshot namespace, snapshot SHA-256, locator), with each UTF-8 component prefixed by its big-endian u64 byte length. It is not a content hash.
scan_reference
Executes the separate in-memory full scan used as a correctness oracle.
validate_archive
Opens and validates the canonical versioned archive before building an index.