reindex improvements

David Bremner david at
Mon Apr 15 18:46:14 PDT 2019

With the upgrade path for the body: prefix being "notmuch reindex
'*'", it's important that that is usable. It turns out that due to a
blunder on my part it wasn't really unless your whole mail store fits
comfortably in RAM.

[PATCH 1/2] CLI/reindex: fix memory leak

       This is an outright bugfix. 
[PATCH 2/2] n_m_remove_indexed_terms: reduce number of Xapian API

       This is optional, but the performance payoff is impressive. I
       suspect it might be even more impressive on spinning rust, but
       I didn't test it.

More information about the notmuch mailing list