[Dovecot] doveadm fts optimize undocumented

Dave Abrahams dave at boostpro.com
Tue Dec 4 18:59:20 EET 2012


on Tue Dec 04 2012, Timo Sirainen <tss-AT-iki.fi> wrote:

> On 4.12.2012, at 18.46, Dave Abrahams wrote:
>
>> Subject says all.  Timo, would you write something up where the world
>> will find it?  Also, it would be great if doveadm fts was covered in the
>> doveadm manpage.
>
> It runs the Lucene's optimize function with fts-lucene backend. Does
> nothing with others. Basically I think it just gathers multiple Lucene
> index files together and packs them into a single file, dropping all
> deleted data (Lucene documentation has more details I think). Similar
> to what "doveadm purge" does to mdbox files. fts-lucene runs the
> optimize also internally automatically once in a while, so I'm not
> sure if that doveadm command should necessarily even exist.

I think the answer lies in your perception of benefits vs maintainance
(including documentation) costs... ;-)

-- 
Dave Abrahams
BoostPro Computing                  Software Development        Training
http://www.boostpro.com             Clang/LLVM/EDG Compilers  C++  Boost



More information about the dovecot mailing list