Index embed lookups and copy vectors by batch keys #121
No reviewers
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:go
svd:hold
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/mail-mind-mcp!121
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/svd-dev-imap-mailmind-mcp-119-embedder-scans-the-whole-a-f150e256"
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?
Add schema v11's guarded received-order index and ids-first message and attachment lookups. Read copy pairs before bounded write transactions, push newly embedded vectors across accounts by copy key, and retain pass-start sweeps. Add lookup_seconds logging, regression tests, the embed benchmark, and documentation updates.
Validation: native package build succeeded; make model succeeded; filtered tests passed (454); make check passed (779 tests, clean audit).
SQLite 3.50.4 embed lookup-plus-copy medians: 0.596 ms at 150,000 messages and 0.572 ms at 300,000. Search medians, base → branch: unfiltered 288.121 → 301.210 ms; account 215.661 → 263.543 ms; sender 320.884 → 376.871 ms.
Closes #119
Co-Authored-By: gpt-6.1-sol noreply@openai.com