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
[Bug]: Long CLI queries repeat scoring for absent terms during a full scan #5429
When graphify query falls back to a full scan, it scores every term against every node. This includes terms whose trigrams are missing from the graph index. A long question can spend most of its time checking these terms before returning a result or a miss.
On a clean v8 checkout at 013a6461 (v0.9.118 runtime), the example below took 1.03 s on an Apple M5 with Python 3.13.9. It returns No matching nodes found. with exit code 4. The expected improvement is to keep that result while skipping the impossible per-term checks.
Activity
github-actions commentedon Nov 24, 2026
Thanks for opening this issue, @Max17190. A maintainer will take a look soon.
If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.
To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.
perf(query): skip absent terms during CLI full scans