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. But I?m not sure if: a) it will make enough of a difference and 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? I?m guessing the searches are done locally so no point in Solr? Does anyone know? Thanks, James. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4688 bytes Desc: not available URL: <https://dovecot.org/pipermail/dovecot/attachments/20190813/9520a206/attachment.bin>
> On 13 Aug 2019, at 14.58, James Brown via dovecot <dovecot at dovecot.org> wrote: > > 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. > > But I?m not sure if: > > a) it will make enough of a difference andChoose 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.> > 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?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.> > I?m guessing the searches are done locally so no point in Solr?No point if only apple client devices. Sami
> Le 13 ao?t 2019 ? 14:16, Sami Ketola via dovecot <dovecot at dovecot.org> a ?crit : > > > >> On 13 Aug 2019, at 14.58, James Brown via dovecot <dovecot at dovecot.org> wrote: >> >> 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. >> >> But I?m not sure if: >> >> a) it will make enough of a difference and > > 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. > >> >> 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? > > 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.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.
On 13 Aug 19, at 05:58 , James Brown <jlbrown at bordo.com.au> wrote:> > 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?Mail.app uses spotlight on the local data, so if your users are all Mac then solar is pointless. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190813/b6ad15c8/attachment.html>