From: David Bremner Date: Tue, 7 Jul 2020 10:56:46 +0000 (-0300) Subject: lib: migrate from Xapian ValueRangeProcessor to RangeProcessor X-Git-Tag: 0.31_rc0~161 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=b90d852a2fb377d5b7db4ab2ac389964f8c0c3b3;hp=b90d852a2fb377d5b7db4ab2ac389964f8c0c3b3;p=notmuch lib: migrate from Xapian ValueRangeProcessor to RangeProcessor This will be mandatory as of Xapian 1.5. The API is also more consistent with the FieldProcessor API, which helps code re-use a bit. Note that this switches to using the built-in Xapian support for prefixes on ranges (i.e. deleted code at beginning of ParseTimeRangeProcessor::operator(), added prefix to constructor). Another side effect of the migration is that we are generating smaller queries, using one OP_VALUE_RANGE instead of an AND of two OP_VALUE_* queries. ---