nx_diora_index_demo.nx
buildroot/runtime/nx_diora_index_demo.nx
about
nx_diora_index_demo.nx -- proof that retrieval runs on Nishi's OWN
sovereign inverted index, not a borrowed one.
module: nishi-core.search.bench.diora_index_demo
depends: fx.nx, nx_search_inverted.nx (FNV-1a postings index), nx_diora_data.nx
capability: APP_RUNNABLE
Builds the verified Diora corpus into nx_search_inverted (the sovereign
FNV-1a token-postings index, Salton-1971 lineage, zero external libs) via
the two-pass build, then RETRIEVES by term. The postings counts prove the
index ingested our corpus and answers term queries -- the index, tokenizer,
hashing and postings are all ours, bits-up. (Open scope: the corpus TEXT is
research-grounded, not yet filled by our own crawler over the bits-up
DNS/TLS/HTTP stack -- that crawl is the next milestone.)
dependencies 4 imports · 0 importers
imports: fx.nxnx_str.nxnx_search_inverted.nxnx_diora_data.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 21 | func nx_putc(c: i64) -> i64 { let b: *u8 = sys_mmap(1); b[0] = c; sys_write(1, b, 1); return 0 } |
| 22 | func nx_puts(s: *u8) -> i64 { sys_write(1, s, nx_str_len(s)); return 0 } |
| 23 | func nx_put_i64(n: i64) -> i64 |
| 34 | func nx_idx_term_count(idx: *NxInvIndex, term: *u8) -> i64 |
| 41 | func nx_idx_report(idx: *NxInvIndex, term: *u8) -> i64 |
| 50 | func main() -> i64 |