Thread subqueries

David Bremner david at tethera.net
Fri May 11 03:15:41 PDT 2018


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

> 0 dkg at 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 at 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





More information about the notmuch mailing list