[Dovecot] Search over big folder hierarchy (was: Global FTS index?)

Asheesh Laroia asheesh at asheesh.org
Mon Jun 30 06:29:26 EEST 2008


On Tue, 24 Jun 2008, Timo Sirainen wrote:

> Hmm. Or v1.2 has virtual mailboxes - you could create a single virtual 
> mailbox from all your other mailboxes and then search it. I think if 
> Squat is enabled it'll create a single index from all the mails. I'm not 
> sure if I want to leave it like that though..

I hope that the index is shared - that you "index the index" by inode 
number, not filename or message UID in a mailbox, since that way you can 
avoid duplicate storage of index data between virtual mailboxes and normal 
ones.

> I have also been thinking about making Squat indexes global for all 
> mailboxes. If done well it should reduce disk space as well as enable 
> fast multi-mailbox searches, but I'm a bit worried about memory usage 
> and other slowness when updating the index. The Squat building/updating 
> could use more work, but I haven't yet figured out a great solution for 
> it.

Well, I think it would be okay - deploy it and we'll all tell you. (-;

(As always, thanks for this amazing software.)

-- Asheesh.

-- 
The wonderful thing about a dancing bear is not how well he dances,
but that he dances at all.


More information about the dovecot mailing list