Re: Fetching short text snippet for mails
Arnt Gulbrandsen <[email protected]>
| Newsgroups | gmane.ietf.imapext |
|---|---|
| Message-ID | <[email protected]> |
On Wednesday, December 3, 2014 12:35:42 AM CEST, Bron Gondwana wrote:
> It's like FUZZY search. Rather than specifying an exact algorithm which
> can be identical in every server, we're much better off saying "present
> a preview that gives a brief overview of what's in the message" and let
> the server calculate it as it sees fit.
Fuzzy is roughly like this:
if(server supports fuzzy)
send "fuzzy + " foo
else
send "(or subject " + foo + " body " + foo + ")"
Your client uses your snippet extension more like this:
assert(server supports snippet)
send "uid fetch snippet"
Quite similar in that it's simple for the client and good for the user, but
there is a difference between if and assert ;)
Arnt
_______________________________________________
imapext mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/imapext