Hello Michael,

On Monday, 14. April 2025 17:19 CEST, Michael Slusarz 
<michael.slus...@open-xchange.com> wrote:

> > On 04/14/2025 8:04 AM MDT Alexander Skwar via dovecot <dovecot@dovecot.org> 
> > wrote:
> >
> > How do I reindex all e-mails (for a user or for all users) for FTS?
> 
> There is no generic command that works for all FTS drivers.
> 
> For flatcurve, you can run "doveadm fts-flatcurve remove" 
> (https://slusarz.github.io/dovecot-fts-flatcurve/doveadm.html#doveadm%20fts-flatcurve%20remove)
>  for 2.3.  (For 2.4, it is "doveadm fts flatcurve remove").

Okay, I've now removed the indexes for all users and all mailboxes.

askwar@mail /o/mailcow-dockerized [64]> sudo docker compose exec 
dovecot-mailcow doveadm fts-flatcurve remove -A '*'
โ€ฆ
a...@skwar.xyz ๐Ÿง™โ€โ™€๏ธ ๐Ÿ—ƒ ARCHIVE/๐Ÿชฉ zzz 1 ๐Ÿ› ARCHIV - Mรคrz 2025/Social Networks 
guid=1619e934a31bd9678e711600d49144d4 ๐Ÿง™โ€โ™€๏ธ ๐Ÿ—ƒ ARCHIVE/๐Ÿชฉ zzz 1 ๐Ÿ› ARCHIV - Mรคrz 
2025/Social Networks/๐Ÿ”๏ธ๐Ÿšด Draussen guid=47ba8413b11bd967c1711600d49144d4 ๐Ÿง™โ€โ™€๏ธ ๐Ÿ—ƒ 
ARCHIVE/๐Ÿชฉ zzz 1 ๐Ÿ› ARCHIV - Mรคrz 2025/Social Networks/๐Ÿข Job โ€” LinkedIn, Xing, โ€ฆ 
guid=5f9e7c0bbe1bd967e4711600d49144d4 ๐Ÿง™โ€โ™€๏ธ ๐Ÿ—ƒ ARCHIVE/๐Ÿชฉ zzz 1 ๐Ÿ› ARCHIV - Mรคrz 
2025/๐Ÿช Shopping guid=18bddd23e61bd9671e721600d49144d4
โ€ฆ

> Correct, this is how FTS indexing works - a message is indexed once. If you 
> change indexing configuration, you need to re-index.  There is currently no 
> way to force reindexing, or reindex a specific message, so the only solution 
> is to delete the indexes entirely.

Will dovecot reindex all e-mails, now that I have removed all the indexes? Is 
there a way to check how far the indexing is?

Cheers,

Alexander

_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to