[Dovecot] Solr 4.0 - lucene - FTS

Timo Sirainen tss at iki.fi
Wed Nov 7 18:29:38 EET 2012


On 7.11.2012, at 18.21, Charles Marcus wrote:

> On 2012-11-07 10:14 AM, Timo Sirainen <tss at iki.fi> wrote:
>>> Specifically, any plans for implementing immediate/automatic index updates at delivery time? The lack of automatically updated indexes is one downside for its implementation...
>> Nothing really prevents from adding that very easily .. I guess it would need a new setting, which is always the most annoying part of small changes.:)  I think it would have to have a setting equivalent to doveadm index -n parameter, which allows indexing most users, except those who pretty much never read their emails. So with doveadm index -n 1000 you could set that if the mailbox's \Recent count is over 1000, don't index the mailbox. So .. hmm. I guess two settings would be cleaner:
>> 
>> plugin {
>>   fts_autoindex = yes
>>   fts_autoindex_max_recent = 1000
>> }
> 
> And this would work in conjunction with (and require) the dovecot LDA / LMTP?

Yes. For non-Dovecot LDA/LMTP you can already run "doveadm index" after the delivery. Or you could do that already with dovecot-lda as well.




More information about the dovecot mailing list