notmuch/lib
David Bremner 4f5bbaf7e2 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
2017-12-25 20:40:28 -04:00
..
add-message.cc crypto: index encrypted parts when indexopts try_decrypt is set. 2017-10-21 19:53:19 -03:00
built-with.c configure: session key handling in gmime maps to built_with("session_key") 2017-12-04 21:39:50 -04:00
config.cc lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
database-private.h lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
database.cc lib: add thread subqueries. 2017-12-25 20:40:28 -04:00
directory.cc lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
filenames.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
index.cc crypto: actually stash session keys when decrypt=true 2017-12-08 08:08:47 -04:00
indexopts.c crypto: add --decrypt=nostash to avoid stashing session keys 2017-12-08 08:08:47 -04:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local lib: add thread subqueries. 2017-12-25 20:40:28 -04:00
message-file.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
message-id.c lib: factor out message-id parsing to separate file. 2017-08-01 21:17:47 -04:00
message-private.h lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
message-property.cc properties: add notmuch_message_remove_all_properties_with_prefix() 2017-10-20 07:58:43 -03:00
message.cc cli/reindex: destroy stashed session keys when --decrypt=false 2017-12-08 08:08:47 -04:00
messages.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
notmuch-private.h crypto: index encrypted parts when indexopts try_decrypt is set. 2017-10-21 19:53:19 -03:00
notmuch.h crypto: add --decrypt=nostash to avoid stashing session keys 2017-12-08 08:08:47 -04:00
notmuch.sym build: switch to hiding libnotmuch symbols by default 2017-05-12 07:17:18 -03:00
parse-time-vrp.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
parse-time-vrp.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query-fp.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query-fp.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query.cc lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
regexp-fields.cc lib: Add regexp expansion for for tags and paths 2017-05-09 07:44:29 -03:00
regexp-fields.h lib: Add regexp searching for mid: prefix 2017-05-09 07:44:15 -03:00
sha1.c lib: use glib for sha1 digests instead of embedding libsha1 2017-01-08 10:50:38 -04:00
string-list.c lib: add notmuch_message_count_files 2017-08-01 21:17:47 -04:00
string-map.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
tags.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
thread-fp.cc lib: add thread subqueries. 2017-12-25 20:40:28 -04:00
thread-fp.h lib: add thread subqueries. 2017-12-25 20:40:28 -04:00
thread.cc lib: return "" rather than NULL from notmuch_thread_get_authors 2017-12-21 09:22:30 -04:00