unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>,
	Jameson Graef Rollins <jrollins@caltech.edu>,
	Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: can a notmuch query filter the output based on the size of a thread?
Date: Sun, 17 Nov 2019 07:36:28 -0500	[thread overview]
Message-ID: <87sgmmsmr7.fsf@tethera.net> (raw)
In-Reply-To: <871ru7o9qn.fsf@fifthhorseman.net>

Daniel Kahn Gillmor <dkg@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

      reply	other threads:[~2019-11-17 13:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-11 15:32 can a notmuch query filter the output based on the size of a thread? Daniel Kahn Gillmor
2019-11-11 17:48 ` Jameson Graef Rollins
2019-11-11 18:40   ` Daniel Kahn Gillmor
2019-11-11 19:08     ` Jameson Graef Rollins
2019-11-16 15:31       ` David Bremner
2019-11-16 15:38     ` David Bremner
2019-11-16 20:18       ` Daniel Kahn Gillmor
2019-11-17 12:36         ` David Bremner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sgmmsmr7.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=dkg@fifthhorseman.net \
    --cc=jrollins@caltech.edu \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).