Large-corpus query engine: replace raw analytics scans with indexed Tek9/capture-offset queries #96
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/llm-log#96
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: corpus workbench epic.
Problem
The current generic analytics path iterates events.jsonl for each query. It is streaming rather than whole-file materialization, but an O(50GB) scan per interactive request is not acceptable.
Goal
Make interactive analytics/query cost proportional to result window/index range, not total corpus size.
Design requirements
Acceptance
Interactive queries over a synthetic large corpus do not invoke the raw full-file scan and stay below an explicit memory ceiling. Pagination/cursors remain stable across restart.