diff options
| author | David Bremner <david@tethera.net> | 2016-03-22 07:54:44 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2016-05-08 08:17:07 -0300 |
| commit | bbf6069252d31e6693ee99cce8bf4f9fab47e360 (patch) | |
| tree | f70aab9b342674e675ac3c5a3794f33b1b05cfae /doc/man7 | |
| parent | 1871be319a28d8bba8b368f6b056d2c8448afcf6 (diff) | |
lib: optionally support single argument date: queries
This relies on the FieldProcessor API, which is only present in xapian
>= 1.3.
Diffstat (limited to 'doc/man7')
| -rw-r--r-- | doc/man7/notmuch-search-terms.rst | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/doc/man7/notmuch-search-terms.rst b/doc/man7/notmuch-search-terms.rst index 2fbc16d1..adedf5a3 100644 --- a/doc/man7/notmuch-search-terms.rst +++ b/doc/man7/notmuch-search-terms.rst @@ -281,9 +281,10 @@ matches from the beginning of January to the end of February. date:<expr>..! can be used as a shorthand for date:<expr>..<expr>. The expansion takes place before interpretation, and thus, for example, date:monday..! matches from the beginning of Monday until the end of -Monday. (Note that entering date:<expr> without "..", for example -date:yesterday, won't work, as it's not interpreted as a range -expression at all. Again, use date:yesterday..!) +Monday. +With **Xapian Field Processor** support (see below), non-range +date queries such as date:yesterday will work, but otherwise +will give unexpected results; if in doubt use date:yesterday..! Currently, we do not support spaces in range expressions. You can replace the spaces with '\_', or (in most cases) '-', or (in some cases) @@ -370,6 +371,21 @@ Time zones Some time zone codes, e.g. UTC, EET. +XAPIAN FIELD PROCESSORS +======================= + +Certain optional features of the notmuch query processor rely on the +presence of the Xapian field processor API. You can determine if your +notmuch was built against a sufficiently recent version of Xapian by running + +:: + + % notmuch config get built_with.field_processor + +Currently the following features require field processor support: + +- non-range date queries, e.g. "date:today" + SEE ALSO ======== |
