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
search: bump index threshold + OR semantics + use workspace name as title
Three improvements to log search recall, all provider-agnostic except
where noted:
1. Whole-file indexing for sessions <= 2 MB (was 512 KB). Big files
now get 1.5 MB head + 500 KB tail (was 256 KB each). Fixes the case
where topic-setting terms in a 10 MB events.jsonl were buried mid-
file and never reached the index. Also fixes a short-read bug:
the head reader could return fewer bytes than requested.
2. OR semantics by default (was AND, with OR fallback only on zero
hits). When a query contains a term that doesn't appear anywhere
in the corpus (e.g. a misspelled name), AND used to silently drop
strong matches on the remaining terms. BM25 still ranks docs
matching more terms higher, so precision is preserved.
3. Copilot title now reads workspace.yaml's 'name:' field first,
falling back to 'summary' and then the first user message. The
'name:' field is auto-generated for every session and is much
more descriptive than the first user message.
Benched on a 770-session corpus; both regression queries improved
(one went from rank 212 to rank 30; another stayed top-3 with a
better title).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments