Expand description
FathomDB facade crate — re-exports the public Rust surface of fathomdb-engine.
The default (operator-feature-OFF) surface is the governed application
surface (dev/interfaces/rust.md § Governed-surface contract): it is
recovery-name-free and raw-SQL-free at the method level. The
operator/recovery seam (rebuild_*, excise_source, dump_*,
trace_source_ref, truncate_wal, verify_embedder, check_integrity,
safe_export, recompute_mean + their report types) is gated behind the
operator cargo feature, which fathomdb-cli enables. Gating, not deletion:
engine behavior is identical with the feature on. See AC-074
(dev/acceptance.md) + dev/design/slice-27-fix1-operator-gate-design.md.
Structs§
- Corruption
Detail - Stable corruption-on-open detail carried by
EngineOpenError::Corruption. - Counter
Snapshot - Snapshot of engine-internal counters returned by
Engine::counters. - Engine
- Explanation
- 0.8.8 EXP-OBS (Slice 5) — the opt-in retrieval explanation payload returned
behind
search_explained(theexplain=truesurface). Built from the engine’s OWN fusion/rerank machinery (fuse_three_armsper-arm ranks,ce_rerankblend components) — no parallel machinery (R-OBS-3). Carries a query-levelQueryTraceplus a per-hit breakdown parallel to (and in the same order as)SearchResult.results. - Extract
Document - G11 (Slice 15) — a document sent to a BYO-LLM extraction harness via
Engine::ingest_with_extractor. - Ingest
With Extractor Receipt - G11 (Slice 15) — receipt returned by
Engine::ingest_with_extractor. - Node
Record - Slice 30 (G2) — an active canonical node row returned by
read.get/read.get_many. - Open
Report - Opened
Engine - PerHit
Explain - 0.8.8 EXP-OBS (Slice 5) — per-hit provenance + score breakdown. One entry per
returned
SearchHit, same order.*_rankis the 0-based rank the hit’s body held in that arm’s pre-fusion list (None= absent from that arm). - Query
Trace - 0.8.8 EXP-OBS (Slice 5) — query-level retrieval trace. Reuses the existing
search_rerankedknobs + the active embedder identity; timings are coarse per-stage wall-clock (monotonic) captured only on the explain path. - Recovery
Hint - Recovery dispatch surface attached to a corruption detail.
- Search
Expand Result - Slice 20 (G6) — result of
Engine::search_expand: initial search hits plus nodes reached by bounded BFS expansion that are not already in the search hit set. - Search
Filter - G10 — closed metadata filter for
Engine::search_filtered(Slice 10). - Search
Result - Hybrid
searchresult.resultscarries structuredSearchHits in vector-first, dedup-on-body order. DerivesClone, Debug, PartialEqbut notEq— each hit carries ascore: f64. - Soft
Fallback - Soft-fallback signal carried on hybrid
searchresults. - Subscription
- Handle returned by
Engine::subscribe. - Write
Receipt
Enums§
- Comparison
Op - G4 (Slice 35) — comparison operator for
Predicate::JsonPathCompare. - Corruption
Kind - Open-path corruption category.
- Corruption
Locator - Locator pointing at the corrupted region of the database file.
- Engine
Error - Engine
Open Error - Open
Stage Engine.openstage at which corruption was detected.- Predicate
- G4 (Slice 35) — closed typed predicate for
Engine::read_listfilter. - Prepared
Write - Batch input shape for
Engine::write. - Scalar
Value - G4 (Slice 35) — scalar value for
Predicatecomparisons. - Soft
Fallback Branch - Which retrieval branch produced a hit (or could not contribute).
- Traversal
Direction - Slice 20 (G5) — direction of graph traversal for
Engine::graph_neighbors/Engine::search_expand.