nx_dms_search_store.nx
buildroot/runtime/nx_dms_search_store.nx
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
imports: nx_syscalls.nxnx_dms_search.nxnx_seg_store.nx
imported by: nx_dms_search_store_gate.nx
structs
| none |
consts
| none |
functions
| 13 | func nx_dms_search_save(sx: *NxDmsSearchIndex, prefix: *u8, segid: i64) -> i64 |
| 49 | func nx_dms_search_load(prefix: *u8) -> *NxDmsSearchIndex |