code wiki / _hdl_build / nx_estate_search_gate.nx
nx_estate_search_gate.nx
buildroot/runtime/_hdl_build/nx_estate_search_gate.nx
about
nx_estate_search_gate.nx -- teeth for the estate query (nx_estate_search_lib.es_query) on a fixture shard it
writes itself through the seg store: two documents under a fixture domain, one with a url row and one without,
one carrying control bytes; then (E1b) a definer and a caller of one identifier, where BM25 alone ranks the
caller first and the definition tier ranks the definer first. No fork, no live shard. Declared in
knowledge/organ_gate.conf because the one-segment-strip convention resolved nx_estate_search to nx_estate_gate --
the WILLS gate -- on the first ship, a name classifier keying on a prefix. license_tier: ORIGINAL expect_exit: 0
dependencies 3 imports · 0 importers
imports: nx_estate_search_lib.nxnx_gate_verdict.nxnx_uxf_decode.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
| 11 | const GE_DOMAIN: *u8 = "esgatetest" |
| 12 | const GE_NONE: *u8 = "esgatenone-never-ingested" |
| 13 | const GE_OUTCAP: i64 = 16384 |
| 14 | const GE_TOP: i64 = 5 |
| 15 | const GE_PREFIXBUF: i64 = 512 |
| 16 | const GE_KEYBUF: i64 = 64 |
| 17 | const GE_BOX: i64 = 16 |
| 18 | const GE_ONE: i64 = 1 |
functions
| 20 | func ge_write_doc(w: *i64, prefix: *u8, txt: *u8, url: *u8) -> i64 |
| 36 | func ci_hash_like(s: *u8, n: i64) -> i64 called by 1: ge_write_doc |
| 44 | func ge_first_line_has(out: *u8, n: i64, needle: *u8) -> i64 calls 1: es_find |
| 56 | func ge_bytes_eq(a: *u8, b: *u8, n: i64) -> i64 |
| 61 | func ge_field_is(keys: *i64, vals: *i64, n: i64, key: *u8, val: *u8) -> i64 calls 1: cc_cmp |
| 70 | func main() -> i64 |