code wiki / _hdl_build / nx_dp_tsv_migrate.nx
nx_dp_tsv_migrate.nx
buildroot/runtime/_hdl_build/nx_dp_tsv_migrate.nx
about
nx_dp_tsv_migrate.nx -- ONE-TIME migration OFF the flat tsv: nx_dp_tsv_migrate <src.tsv> <domain>
Reads a legacy id<TAB>text search-source tsv ONCE and writes each doc into the domain's PUBLIC sovereign
seg_store shard (dp-<domain>-pub-, key doc:<cid>, .terms built by ss_write_seg) via RAW ss_add -- NOT dp_ingest,
so NO new tsv is emitted. After this runs the tsv is legacy/removable and dss_search queries the store directly.
This retires the tsv the operator flagged (2026-07-02), migrating its content INTO the nishi ecosystem. ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_docportal_search_seg.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
| 7 | const K_MAGIC_1125899906842597: i64 = 1125899906842597 |
functions
| 9 | func m_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } called by 1: main |
| 10 | func m_num(v: i64) -> i64 called by 1: main |
| 20 | func mg_hash(s: *u8, n: i64) -> i64 called by 1: main |
| 28 | func main(argc: i64, argv: *i64) -> i64 |