[Dovecot] [BUMP] Unanswered: how to force FTS indexing?
Dave Abrahams
dave at boostpro.com
Thu Nov 15 22:35:44 EET 2012
After all this, some experimentation shows that doveadm index /does/
after all, update FTS indices. I wish this were better documented.
on Wed Nov 14 2012, Dave Abrahams <dave-AT-boostpro.com> wrote:
> Does anyone have an answer to this question? Should I simply issue an
> IMAP search command, or is there a better way?
>
> on Thu Nov 01 2012, Dave Abrahams <dave-AT-boostpro.com> wrote:
>
>>> This index is not updated in real time. This is why Timo and others
>>> recommend cron'ing a script to index folders regularly that are
>>> searched regularly.
>>
>> And how does one index the folders for search? Is that "doveadm
>> index" or "doveadm fts rescan" (which I see at
>> http://wiki2.dovecot.org/Plugins/FTS but NOT in the manpage), or...?
>>
>>> This keeps the indexes up to date and keeps searches fast. If you
>>> don't do this or search often, your indexes become stale. Then each
>>> time you do an FTS search the first thing that happens is an FTS
>>> re-indexing of the mail folder. Only then does it display the search
>>> results.
>>>
>>>> BTW, I'm using the clucene search backend.
>>>
>>> I've not used Lucene, but I believe the default behavior is similar to
>>> the Dovecot 1.2.x FTS indexer.
>>
>> Not sure what conclusion to draw from that, thanks.
--
Dave Abrahams
BoostPro Computing Software Development Training
http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost
More information about the dovecot
mailing list