You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cypher queries don't serve from reasoning indexes #2288
The Cypher entry point (execute_cypher_ir, fluree-db-api/src/view/query.rs) never consults reasoning indexes. A Cypher query under ledger-wide reasoning defaults always reasons at query time, even when a matching reasoning index is current. JSON-LD and SPARQL serve from the index.
This only matters when reasoning reaches Cypher through ledger defaults; Cypher has no per-query reasoning option.
Proposed: route Cypher through the same index selection as the JSON-LD/SPARQL runners (reasoning_index_for, including the restricted-caller rules and freshness modes). Add parity tests (index-served vs query-time) and a routing check showing the index actually served.
Fixed on next by #2292 (merged 2026-11-13, e78a07b). execute_cypher_ir now goes through serve_from_reasoning_index, the same selection JSON-LD and SPARQL use, and it_reasoning_indexes::cypher_reads_a_matching_reasoning_generation covers it. The PR's Fixes keyword didn't close this because its base was next.
Activity
bplatz commentedon Nov 20, 2026
Fixed on
nextby #2292 (merged 2026-11-13, e78a07b).execute_cypher_irnow goes throughserve_from_reasoning_index, the same selection JSON-LD and SPARQL use, andit_reasoning_indexes::cypher_reads_a_matching_reasoning_generationcovers it. The PR'sFixeskeyword didn't close this because its base wasnext.