feat(store): implement contact search over contacts_fts #354

Merged
KofTwentyTwo merged 1 commits from story/ws-e10-search-contacts into dev 2026-07-31 22:05:22 +00:00
1 Commits
Author SHA1 Message Date
James Maes d3bf2e30a2 feat(store): implement contact search over contacts_fts
Add search_contacts/search_contacts_page to SearchEngine, mirroring the
existing message and event search queries and their keyset pagination.
The contacts_fts virtual table and its insert/update/delete triggers
already existed but were unused; new tests prove the triggers keep the
index in sync across insert, update, and delete, that ranked hits
correctly include/exclude matches, and that sanitized/edge queries do
not error.

Refs #318
2026-07-31 17:02:33 -05:00