Re: Proof of concept for counting messages in thread

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

Date: Mon, 13 Feb 2023 16:23:33 -0400

To: Michael J Gruber

Cc: notmuch@notmuchmail.org

From: David Bremner


Michael J Gruber <michaeljgruber+grubix+git@gmail.com> writes:
>
> 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

A simple test to try is

% xapian-delve -t G0000000000021229 \
  ~/.local/share/notmuch/default/xapian

adjusting your database path as needed.

If that says "termfreq 115", then something is broken (or at least
confusing) about your database (possibly related to the previous issues
with threading). In that case I'm curious if there are 115 distinct
record numbers.  You can find all of the thread-ids attached to a given
message with

% xapian-delve -1r 267585 ~/.local/share/notmuch/default/xapian | grep ^G

where 267585 is an example record number in my database.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: