Re: [Imap-protocol] Gmail search on Subject

Brandon Long <[email protected]> Wed, 30 Jul 2014 12:52:58 -0700
Newsgroups gmane.mail.imap.general
Message-ID <CABa8R6u=5Mgx7vgb5nt-AeqtO0mXZxmoMDhkGgo22aRdde9jxw@mail.gmail.com>
I think there's an argument to be made that it should be no results, sure.
 Except that implies that there are no messages which match, which isn't
true either.  We could also certainly be smarter and fallback to doing
substring searches... the problem is, we never really want to do sub-string
searches on a folder of say 1M messages, and if we have a cut-off from the
maximum number of messages we'll search, that isn't developer friendly
either.

We should probably just respond with a NO.

Brandon


On Wed, Jul 30, 2014 at 1:21 AM, Eduardo Chappa <[email protected]> wrote:

> On Wed, 30 Jul 2014, Brandon Long wrote:
>
>  Note that this is documented here:
>> https://support.google.com/mail/answer/78761?hl=en&ref_topic=3397501
>> Though, admittedly, "Substring search. All searches are assumed to be
>> words"
>> isn't enough to make this behavior obvious.
>>
>
> Dear Brandon,
>
>   Thank you for your complete explanation. Although there is no substring
> search, I guess "%" is not a string on its own in the Gmail server, which
> would have actually resulted in no messages selected in the search in my
> case, instead of all of them.
>
>   Thank you! I appreciate your explanation.
>
> --
> Eduardo
> http://patches.freeiz.com/alpine/
>

_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman13.u.washington.edu/mailman/listinfo/imap-protocol