[Dovecot] Solr 4.0 - lucene - FTS

Charles Marcus CMarcus at Media-Brokers.com
Wed Nov 7 19:12:26 EET 2012


On 2012-11-07 11:29 AM, Timo Sirainen <tss at iki.fi> wrote:
> 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.

Gotcha... just confirming that as long as you were using dovecot 
LDA/LMTP, index updates would be immediate and not impact system 
performance.

Thanks... looking forward to its implementation someday. ;)

-- 

Best regards,

Charles




More information about the dovecot mailing list