nx_lib_search.nx
buildroot/runtime/nx_lib_search.nx
about
nx_lib_search.nx -- sovereign SEARCH over the nishi-library catalog store.
Case-insensitive, multi-term AND over work titles, straight from nx_lib_store
-- retires SQLite FTS5's function. Returns a JSON array of matching work_hks.
No python, no sqlite, no 3rd-party. (Perf-exceed = persist an inverted index
via nx_search_inverted_persist; this rung is functional parity, gated.)
license_tier: ORIGINAL | genealogy_id: nishi_library_sovereign_search_2026_06_30
dependencies 1 imports · 4 importers
imports: nx_lib_store.nx
imported by: nx_fetchprobec.nxnx_lib_page.nxnx_lib_search_test.nxnx_libdata.nx
structs
| none |
consts
| none |
functions
| 9 | func lsr_lc(c: i64) -> i64 |
| 15 | func lsr_ci_has(hay: *u8, hayn: i64, needle: *u8, nn: i64) -> i64 |
| 37 | func lsr_title_len(rec: *u8, reclen: i64) -> i64 |
| 49 | func lsr_match(rec: *u8, reclen: i64, qlow: *u8, qn: i64) -> i64 |
| 72 | func nx_lib_search_query(query: *u8, qn: i64, out: *u8) -> i64 |