Re: Thread subqueries

Subject: Re: Thread subqueries

Date: Fri, 11 May 2018 07:15:41 -0300

To: Daniel Kahn Gillmor, notmuch@notmuchmail.org

Cc:

From: David Bremner


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

> 0 dkg@alice:~$ notmuch count 'thread:{date:1month..now tag:dkg}'
> notmuch count: A Xapian exception occurred
> A Xapian exception occurred parsing query: missing } in '{date:1month..now'
> Query string was: thread:{date:1month..now tag:dkg}
> 1 dkg@alice:~$ 

Pretty sure what you want here is

        $ notmuch count 'thread:"{date:1month..now tag:dkg}"'

There is some related discussion in QUOTING in notmuch-search-terms(7),
and the thread:{} examples there all double quoting so they still work
if the terms are replaced by terms with spaces.

d



_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: