Re: [PATCH] lib: add support for date:<expr>..! to mean date:<expr>..<expr>

Subject: Re: [PATCH] lib: add support for date:<expr>..! to mean date:<expr>..<expr>

Date: Sat, 26 Sep 2015 16:55:02 +0300

To: David Bremner, Jani Nikula, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Sat, Sep 26 2015, David Bremner <david@tethera.net> wrote:

> Jani Nikula <jani@nikula.org> writes:
>
>> It doesn't seem likely we can support simple date:<expr> expanding to
>> date:<expr>..<expr> any time soon. (This can be done with a future
>> version of Xapian, or with a custom query query parser.) In the mean
>> time, provide shorthand date:<expr>..! to mean the same. This is
>> useful, as the expansion takes place before interpetation, and we can
>> use, for example, date:yesterday..! to match from beginning of
>> yesterday to end of yesterday.
>
> pushed. At some point we probably want a NEWS item.

If it is in the NEWS, it is perpetual, otoh if only in documentation we
could theoretically deprecate and remove it easier in the future ... ;p

> d

Tomi

Thread: