Skip to main content

text_query_eval_ground

Function text_query_eval_ground 

Source
pub fn text_query_eval_ground(_args: &[Term]) -> CustomEval
Expand description

The text:query registration payload: a lowering pass-through.

The function exists on the custom-function map ONLY so split_filter classifies the IRI (AlwaysResolve → residual) instead of erroring Unsupported before the planner sees it. The planner strips it when the index is trusted; when it is not, this evaluation runs and fails the query with the repair hint — the deliberate deviation from geo/temporal: text:query has no per-row evaluation to fall back on, and returning zero rows from an unusable index (the trusted-but-empty state) is forbidden.