diff options
| author | David Bremner <david@tethera.net> | 2017-08-20 18:32:40 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-12-25 20:40:28 -0400 |
| commit | 4f5bbaf7e2cecfe5022ba4b28915cccfb7ccb12d (patch) | |
| tree | fb484349726d2c6ff0575266bedd5d753d3a1c11 /lib/Makefile.local | |
| parent | 68e753a21f47b0e37bcf26a3efcdf7842b6374cf (diff) | |
lib: add thread subqueries.
This change allows queries of the form
thread:{from:me} and thread:{from:jian} and not thread:{from:dave}
This is still somewhat brute-force, but it's a big improvement over
both the shell script solution and the previous proposal [1], because it
does not build the whole thread structure just generate a
query. A further potential optimization is to replace the calls to
notmuch with more specialized Xapian code; in particular it's not
likely that reading all of the message metadata is a win here.
[1]: id:20170820213240.20526-1-david@tethera.net
Diffstat (limited to 'lib/Makefile.local')
| -rw-r--r-- | lib/Makefile.local | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Makefile.local b/lib/Makefile.local index 8aa03891..5dc057c0 100644 --- a/lib/Makefile.local +++ b/lib/Makefile.local @@ -58,7 +58,8 @@ libnotmuch_cxx_srcs = \ $(dir)/query-fp.cc \ $(dir)/config.cc \ $(dir)/regexp-fields.cc \ - $(dir)/thread.cc + $(dir)/thread.cc \ + $(dir)/thread-fp.cc libnotmuch_modules := $(libnotmuch_c_srcs:.c=.o) $(libnotmuch_cxx_srcs:.cc=.o) |
