Hi there, notmuch-reindex "re-creates the full-text index". It does not say that it re-creates database terms related to the matched message, and I'm wondering how to achieve that.
The background is thread splitting and joining using, e.g., mutt. mutt does that by editing the reference headers. Indeed, when joining threads this way, notmuch creates a new thread linked up correctly (without explicit reindex, just on notmuch new). When splitting threads, notmuch does not split the thread, not even when I run "notmuch reindex" explicitly. It gets more interesting. Say, I have A<-B and C (B is a reply to A, C is single). Splitting A<-B with mutt removes the ref/reply header and splits the thread in mutt. In notmuch's db, A and B remain part of the same thread, even after reindex. Now join C to B in mutt, i.e. create the ref B<-C. On notmuch-new, notmuch creates a new thread for B<-C and forgets the link A<-B. That is, notmuch-new recreates and reassigns threads under some conditions, and basically I want to enforce these conditions (be it with reindex or new) so that notmuch learns about a thread split done in mutt (or anything else rewriting ref headers). Michael _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org