Re: Thread subqueries

Subject: Re: Thread subqueries

Date: Fri, 11 May 2018 04:43:55 -0400

To: David Bremner,


From: Daniel Kahn Gillmor

On Mon 2018-05-07 09:09:35 -0300, David Bremner wrote:
> David Bremner <> writes:
>> This is the first non-WIP version of this series. It adds a small
>> optimization (something like a 10% speedup on SSD), and some
>> documentation and tests.
> pushed to master, with Jani's suggestions.

this is awesome.  thank you for pushing it forward!

I'm testing it out now and i am having trouble getting it to be properly
generic when the subquery has multiple terms.

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

What i really want is of course something like:

    thread:{ tag:dkg} tag:inbox

to find all the replies to threads i've recently participated in, but
that fails with the same error.

What am i missing?

signature.asc (application/pgp-signature)
notmuch mailing list