Re: [PATCH] WIP: add thread subqueries.

Subject: Re: [PATCH] WIP: add thread subqueries.

Date: Sun, 20 Aug 2017 22:35:49 -0300

To: Jani Nikula,


From: David Bremner

David Bremner <> writes:

> If you're interested in this feature, please test, let me know if it's
> workable for your use case.  The syntax here is thread:{$query}. The
> usual caveats about whitespace apply. The running example is
> 	     thread:{from:me} and thread:{from:jian} and not thread:{from:dave}

I was playing around with this, and

  'thread:"{from:bremner and date:2017}"' and thread:{from:sitaram}

is about 10x faster than without the date restriction. This is roughly
proportional to the number of threads matching the first subquery.
Unfortunately the date restriction needs to be inside the subquery with
the current design.


notmuch mailing list