can a notmuch query filter the output based on the size of a thread?

David Bremner david at tethera.net
Sun Nov 17 04:36:28 PST 2019


Daniel Kahn Gillmor <dkg at fifthhorseman.net> writes:

> Just to flesh it out a bit further, do you think that such a thread
> object would have anything attached to it other than message-count? or
> maybe a list of message-ids?  dates?  aggregated senders?  aggregated
> recipients?

I think it would have the union of terms (tags, words, prefixed terms
from e.g. subject) in messages in the thread to allow
"thread:{foo AND bar}" to be done fast. At one point Olly convinced me
that it would be feasible to delete the terms in a sensible way (i.e. to
simulate reference counting) when a message is deleted, but I'm hazy on
the details at this point. dates might be especially tricky.

d


More information about the notmuch mailing list