8 **notmuch** **reindex** [*option* ...] <*search-term*> ...
13 Re-index all messages matching the search terms.
15 See **notmuch-search-terms(7)** for details of the supported syntax for
18 The **reindex** command searches for all messages matching the
19 supplied search terms, and re-creates the full-text index on these
20 messages using the supplied options.
22 Supported options for **reindex** include
24 ``--decrypt=(true|auto|false)``
26 If ``true``, when encountering an encrypted message, try to
27 decrypt it while reindexing. If ``auto``, and notmuch already
28 knows about a session key for the message, it will try
29 decrypting using that session key but will not try to access
30 the user's secret keys. If decryption is successful, index
33 If ``false``, notmuch reindex will also delete any stashed
34 session keys for all messages matching the search terms.
36 Be aware that the index is likely sufficient to reconstruct
37 the cleartext of the message itself, so please ensure that the
38 notmuch message index is adequately protected. DO NOT USE
39 ``--decrypt=true`` without considering the security of your
42 See also ``index.decrypt`` in **notmuch-config(1)**.
48 **notmuch-config(1)**,
52 **notmuch-insert(1)**,
55 **notmuch-restore(1)**,
56 **notmuch-search(1)**,
57 **notmuch-search-terms(7)**,