10 Jan
2008
10 Jan
'08
6:19 a.m.
On Mon, 2008-01-07 at 23:51 -0800, Asheesh Laroia wrote:
My question is: Can there be an option to "index greedily"? As soon as Dovecot sees the message, I'd like it to update the Squat index. That way, searches are always fast.
It's in my TODO that Squat should be updated while messages are being saved, but I don't know if it makes into v1.1.
For now the only way to do this would be to cause a SEARCH TEXT to be run once in a while. Like cron, or a post-login script doing it at login:
printf "1 select inbox\n2 search text jsidjsidsij\n"|imap > /dev/null exec imap