mirror of
https://github.com/zotero/zotero.git
synced 2026-10-11 03:38:25 +00:00
The embeddings are a local, rebuildable, model-specific index, so they don't belong in the main database or its backups. Follow the full-text content index pattern: a lazily attached embeddings.sqlite versioned via PRAGMA user_version, tied to the main database by localUserKey, with corruption recovery and idle-maintenance vacuuming via the DBConnection hooks. Since a cross-database foreign key isn't possible, item deletions now clear embeddings via the notifier, and the indexed-model identity moves from a pref into the database's meta table. |
||
|---|---|---|
| .. | ||
| preferences | ||