aboutsummaryrefslogtreecommitdiff
path: root/lib/database-private.h
diff options
context:
space:
mode:
authorAustin Clements <amdragon@mit.edu>2014-10-13 02:20:03 -0400
committerDavid Bremner <david@tethera.net>2015-08-14 18:23:49 +0200
commitcb08a2ee019e52dc29ba393d139fce8d7282c632 (patch)
tree77e3d75086d8e257ef3abfdf388e6aa2d3a81ff2 /lib/database-private.h
parentf76d8f82dd004cf14426a91e8a80dcd2a4b97317 (diff)
lib: Add "lastmod:" queries for filtering by last modification
The implementation is essentially the same as the date range search prior to Jani's fancy date parser.
Diffstat (limited to 'lib/database-private.h')
-rw-r--r--lib/database-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/database-private.h b/lib/database-private.h
index 4e932572..3fb10f7a 100644
--- a/lib/database-private.h
+++ b/lib/database-private.h
@@ -176,6 +176,7 @@ struct _notmuch_database {
Xapian::TermGenerator *term_gen;
Xapian::ValueRangeProcessor *value_range_processor;
Xapian::ValueRangeProcessor *date_range_processor;
+ Xapian::ValueRangeProcessor *last_mod_range_processor;
};
/* Prior to database version 3, features were implied by the database