v2.18.2 — kg_TXT fix, iFind fallback, fusion silent-degrade
v2.18.2 (2026-09-07)
Fix: kg_TXT SQLCODE -51 / silent hybrid-search degradation
kg_TXTSQLCODE -51:CALL iris_vector_graph.kg_TXT(...)failed because IRIS
registers the stored procedure as a scalar FUNCTION. Rewrote to inline SQL using
%FIND/%FIND.Rankwhen the iFind index exists, with aLIKE-based fallback on
instances without iFind installed.docs.textiFind index: Addedidx_docs_text_ifindto the base DDL and to
ensure_indexessokg_TXTgets BM25-ranked results on fresh installs.kg_TXTDDL arity: Schema DDL had 2 params (q, k); Python caller passed 3
(query_text, k, min_confidence). DDL updated to 3 params;kg_RRF_FUSEcall site
updated tokg_TXT(:qtext, :k2, 0).- Silent hybrid degradation fixed:
fusion.py:156swallowedkg_TXTexceptions as
a WARNING, making hybrid search silently degrade to vector-only with no caller-visible
error. Changed tologger.error+ re-raise. - E2E regression tests:
tests/integration/test_kg_txt_e2e.py— 6 tests covering
result shape, score types, k limit, no-match, CALL-verb detection, and fusion
exception propagation.