code wiki / (root) / nx_dms_search_store.nx

nx_dms_search_store.nx

buildroot/runtime/nx_dms_search_store.nx

2878 B77 linesdepth 5pulls 10 transitivereach 1 importersview sourcekind librarytopic dms
docsdependenciesstructsconstsfunctions

about

nx_dms_search_store.nx -- durability for the consent-gated search index. Unlike the fixed-row ledgers, search docs carry variable-length TEXT, so the snapshot is a walk of per-doc records: [asset_id:8 BE][text bytes][0x00]. On load, text pointers point into the persistent ss_open blob (mmap'd, never freed), so the reloaded index tokenizes/searches the real bytes. Completes the DMS never-lose story (rights + catalog + offers + search). license_tier: ORIGINAL

dependencies 3 imports · 1 importers

nx_syscalls.nx nx_dms_search.nx nx_seg_store.nx nx_dms_search_store.nx nx_dms_search_store_gate.nx

imports: nx_syscalls.nxnx_dms_search.nxnx_seg_store.nx

imported by: nx_dms_search_store_gate.nx

structs

none

consts

none

functions

13func nx_dms_search_save(sx: *NxDmsSearchIndex, prefix: *u8, segid: i64) -> i64
49func nx_dms_search_load(prefix: *u8) -> *NxDmsSearchIndex