[Dovecot] FTS/squat search indexes built when?

Timo Sirainen tss at iki.fi
Sun Jul 20 18:28:48 EEST 2008


On Mon, 2008-07-14 at 08:07 -0400, Jay Levitt wrote:
> Timo Sirainen wrote:
> > On Sat, 2008-06-14 at 07:56 -0400, Jay Levitt wrote:
> >> But what I'm not clear about: Does it then get updated on every delivery 
> >> by LDA?  Or does the index also need to get updated when I do a search, 
> >> assuming there's been at least one message delivered since the last search?
> > 
> > Currently it gets updated only when searching. I wanted to have it
> > updated immediately (optionally) while mails are being delivered, but
> > never got around to implementing it.
> 
> OK, some followups then:
> 
> - Is the index rebuilt from scratch every time, or should updates be fairly 
> quick?

It's updated, not rebuilt.

>   I just did a search on my inbox (about 10,000 messages), and I know 
> I've done a search there in the past month - yet it either took many, many 
> minutes, or it timed out.

Indexing 10k messages from scratch shouldn't take all that many seconds
with somewhat recent computers..

> - If I wrote a script to log in and search for something, and ran it every 
> night through cron, would that achieve daily indexing?

Yes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080720/c558ddeb/attachment-0001.bin 


More information about the dovecot mailing list