[Dovecot] Difference between Indexing and Rescan in FTS

Timo Sirainen tss at iki.fi
Thu Oct 18 06:14:19 EEST 2012


On 17.10.2012, at 9.26, Fred Kilbourn wrote:

>> doveadm fts rescan makes sure that 1) all of the old messages are
>> indexed and 2) there are no extra (already deleted) messages indexed. So
>> it's basically repairing fts index. You probably shouldn't run it
>> automatically, or at least not very often.
> 
> Okay, you've clarified that for me.
> 
> I understand that rescan isn't a nightly task, but could be run every now
> and then periodically.  How often might be appropriate if I wanted to do
> this as a maintenance task?  Once a month?

I don't know, depends on if you have problems related to it. I think the most common answer would be "never".

> Lastly, I'm trying to use the index command instead of the search command,
> but I can't figure out how to make it index every mailbox for every user.
> Is there a wildcard that can be used for the mailbox?  Or do I need to
> iterate all the mailboxes with one command and run index however many times
> for each inbox?

doveadm index '*' works in new versions. I don't remember from which version.




More information about the dovecot mailing list