MBOX-Line: From imap at maclean.com  Thu Apr  9 05:59:18 2015
To: imap-protocol@u.washington.edu
From: Pete Maclean <imap@maclean.com>
Date: Fri Jun  8 12:34:54 2018
Subject: [Imap-protocol] SEARCH semantics
Message-ID: <mailman.22.1528486494.22076.imap-protocol@mailman13.u.washington.edu>

If I understand them correctly, using such an indexer means providing 
a word-based search.  Now, as I noted in another message, that might 
be a very good choice these days since that is what a lot of people 
are accustomed to.  But IMAP promises a string-based search for which 
you would want to use hashes based on n-grams instead.

At 02:31 PM 4/8/2015, Hoa V. Dinh wrote:
>You probably want to use a full text indexer such as Lucene / 
>Elastic Search in this case.
>It will prevent the server from iterating on each email.
>
>--
>Hoa V. Dinh
>
>On Wednesday, April 8, 2015 at 5:28 AM, Bron Gondwana wrote:
>>An important thing to be aware of - if you have iPhone users. iOS 
>>since version 7
>>has done a BODY search on every folder if you do a search. That's 
>>prohibitively
>>expensive if you're scanning emails every time.
>
>_______________________________________________
>Imap-protocol mailing list
>Imap-protocol@u.washington.edu
>http://mailman13.u.washington.edu/mailman/listinfo/imap-protocol


