feat: split search query into words for AND semantics
Searching for "foo bar" now matches emails containing both words rather than the exact phrase. Each whitespace-separated term generates its own IMAP criterion (OR SUBJECT "w" TEXT "w") — multiple top-level IMAP criteria are ANDed by the protocol — and its own Drift LIKE clause for the local DB. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
0103454e31
commit
2074046bb3
@@ -18,11 +18,6 @@ Then commit.
|
||||
|
||||
## Tasks
|
||||
|
||||
I opened a mailbox. I search for "foo bar". I want to see all mails containing foo and bar. Not
|
||||
mails containing "foo bar" exactly.
|
||||
|
||||
---
|
||||
|
||||
I search for "foo". Now I see all mails containing "foo". I want to easily do the common actions on
|
||||
the selected mails: Delete, Archive, Move to Folder, Move to Junk, ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user