Re: Proof of concept for counting messages in thread

Subject: Re: Proof of concept for counting messages in thread

Date: Mon, 13 Feb 2023 18:03:32 +0100

To: David Bremner

Cc: notmuch@notmuchmail.org, pabs@debian.org

From: Michael J Gruber


Am Mo., 13. Feb. 2023 um 17:32 Uhr schrieb David Bremner <david@tethera.net>:
>
> Michael J Gruber <michaeljgruber+grubix+git@gmail.com> writes:
>
> > I am getting a few surprising matches, e.g.
> > ```
> > notmuch search  --query=sexp '(thread (count 115)))'
> > thread:0000000000021229   2021-05-17 [5/5] Michael J Gruber ... redacted
> > notmuch count --exclude=false thread:0000000000021229
> > 5
> > ```
> > It could be some database issues, of course. Or me misunderstanding something :)
>
> Hmm. I don't see any strange matches for that particular query, just a
> thread that actually has 115 messages. But there could also be bugs of
> course.  Does xapin-check complain about your database?

It has 5, as confirmed by the search output and that of `notmuch
count`. But it is matched by `count 115`.
`xapian-check` is happy. (There used to be some issue with additional
thread entries at some point.)

Michael
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: