Re: reindex a message already indexed

Subject: Re: reindex a message already indexed

Date: Mon, 16 Feb 2015 07:39:42 -0400

To: francois@avalenn.eu, notmuch@notmuchmail.org

Cc:

From: David Bremner


francois@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


Thread: