<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Le 13 août 2019 à 14:53, Sami Ketola <<a href="mailto:Sami.Ketola@Open-Xchange.com" class="">Sami.Ketola@Open-Xchange.com</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 13 Aug 2019, at 15.37, Jean-Daniel via dovecot <<a href="mailto:dovecot@dovecot.org" class="">dovecot@dovecot.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">Le 13 août 2019 à 14:16, Sami Ketola via dovecot <<a href="mailto:dovecot@dovecot.org" class="">dovecot@dovecot.org</a>> a écrit :<br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">On 13 Aug 2019, at 14.58, James Brown via dovecot <<a href="mailto:dovecot@dovecot.org" class="">dovecot@dovecot.org</a>> wrote:<br class=""><br class="">I’m thinking of getting Solr working with my Dovecot server. Server is new 6-core Mac Mini, mail store of over 1/2 TB. Mailboxes with 100s of thousands of messages.<br class=""><br class="">But I’m not sure if:<br class=""><br class="">a) it will make enough of a difference and<br class=""></blockquote><br class="">Choose mailbox format wisely. sdbox preferred unless HFS+ has problems with 100s of thousands of small files in same directory. If so, then use mdbox with periodic purges.<br class=""><br class=""><blockquote type="cite" class=""><br class="">b) does Mail.app and other mail clients on Macs or iOS devices perform searches on their local copy of mail or does it just send a search request to the server?<br class=""></blockquote><br class="">None of the apple devices use IMAP SEARCH. They ALL maintain and use their own local search database on the device. Also they seem to refresh the database every now and then redownloading all emails.<br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Do you have a source for that. My experience is that without server search support, iOS is very slow at returning result. Moreover, it keep only latest messages and never download message until you read them.</span></div></blockquote></div><br class=""><div class="">I'm a apple device user myself. I have couple of iPhones, couple of iPads, couple if MacBooks and Mail.app on any of them is not using IMAP SEARCH.</div><div class="">And I cannot find any configuration option to enable it. Only spotlight index is used. On Mac OS Mail.App seems to store the indexed data to:</div><div class=""><br class=""></div><div class=""><div class="">samik@samikworkmac:~>ls -1 Library/Mail/V6/MailData/Envelope\ Index*</div><div class="">Library/Mail/V6/MailData/Envelope Index</div><div class="">Library/Mail/V6/MailData/Envelope Index-shm</div><div class="">Library/Mail/V6/MailData/Envelope Index-wal</div></div><div class=""><br class=""></div><div class="">if those files are removed or spotlight search for mails is disabled Mail.App can't find anything anymore. It does not fall back to IMAP SEARCH.</div><div class=""><br class=""></div></div></div></blockquote><div><br class=""></div><div>My question was more about iOS. I know that macOS Mail does not rely on any way on remote indexing and has it’s own local index, but as it also store all messages locally, it’s an easy requirement. For iOS that only download messages meta-data by default, I was not so sure. </div><div><br class=""></div><div>I’m accessing my mail server using Apple devices only, and see some imap SEARCH requests in dovecot stats, but can’t figure out where they came from though. So you may be right.</div><div><br class=""></div><div><br class=""></div></div></body></html>