> 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"). [snip] > I'd like to be able to search for a text which is in attachments and > then I'd need to be able to find the email. This works fine for new > emails, but not for old ones. To verify that the attachment would be > readable by tika, I took an old e-mail, saved the PDF attachment, > and then mailed it to me. Searching for the e-mail will find the new > e-mail, but not the old one. 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. michael _______________________________________________ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org