diff options
author | Austin Clements <amdragon@MIT.EDU> | 2013-10-24 11:19:08 -0400 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2013-11-08 20:43:29 -0400 |
commit | abeac48522ded66e2f0e9aae704482355cb46e6a (patch) | |
tree | 3f0df784ca77999c880b9000d6d4281b6b9a7143 /notmuch-client.h | |
parent | 730b8f61e0cf4b2e8c0f123c0914d472d6df38fc (diff) |
search: Add stable queries to thread search results
These queries will match exactly the set of messages currently in the
thread, even if more messages later arrive. Two queries are provided:
one for matched messages and one for unmatched messages.
This can be used to fix race conditions with tagging threads from
search results. While tagging based on a thread: query can affect
messages that arrived after the search, tagging based on stable
queries affects only the messages the user was shown in the search UI.
Since we want clients to be able to depend on the presence of these
queries, this ushers in schema version 2.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r-- | notmuch-client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-client.h b/notmuch-client.h index 4ecb3ae9..278b498a 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -138,7 +138,7 @@ chomp_newline (char *str) * this. New (required) map fields can be added without increasing * this. */ -#define NOTMUCH_FORMAT_CUR 1 +#define NOTMUCH_FORMAT_CUR 2 /* The minimum supported structured output format version. Requests * for format versions below this will return an error. */ #define NOTMUCH_FORMAT_MIN 1 |