reindex a message already indexed

David Bremner david at tethera.net
Mon Feb 16 03:39:42 PST 2015


francois at avalenn.eu writes:

> I would like to know is it is possible to force reindexation of an
> already indexed message (without losing the tags, of course).
>
> The concerned messages had their content changed but this not
> reflected in notmuch search results.
>
> Would changing the filename work ?

I don't think so with the current code. I didn't go back and stare at
the indexing code, but I believe it stops when it recognizes the
message-id.  Maybe you could rename and change the message-id. But then
you'd lose the tags; you'd also have to worry about duplicate files for
the same message.

d



More information about the notmuch mailing list