From: David Bremner Date: Mon, 18 Feb 2019 13:08:48 +0000 (-0400) Subject: doc: document user header indexing. X-Git-Tag: archive/debian/0.29_rc0-1~32 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=9dedb23b47961047d75ef08210481018042d0baf doc: document user header indexing. It's a bit odd that the primary documentation is in notmuch-config, but it is consistent with the "query:" prefix. --- diff --git a/doc/man1/notmuch-config.rst b/doc/man1/notmuch-config.rst index 89909808..28487079 100644 --- a/doc/man1/notmuch-config.rst +++ b/doc/man1/notmuch-config.rst @@ -195,6 +195,15 @@ The available configuration items are described below. Default: ``auto``. +**index.header.** **[STORED IN DATABASE]** + Define the query prefix , based on a mail header. For + example ``index.header.List=List-Id`` will add a probabilistic + prefix ``List:`` that searches the ``List-Id`` field. User + defined prefixes must not start with 'a'...'z'; in particular + adding a prefix with same name as a predefined prefix is not + supported. See **notmuch-search-terms(7)** for a list of existing + prefixes, and an explanation of probabilistic prefixes. + **built_with.** Compile time feature . Current possibilities include "compact" (see **notmuch-compact(1)**) and "field_processor" (see diff --git a/doc/man7/notmuch-search-terms.rst b/doc/man7/notmuch-search-terms.rst index fd8bf634..1dd2dc58 100644 --- a/doc/man7/notmuch-search-terms.rst +++ b/doc/man7/notmuch-search-terms.rst @@ -169,6 +169,9 @@ property:= can be present on a given message with several different values. See **notmuch-properties(7)** for more details. +User defined prefixes are also supported, see **notmuch-config(1)** for +details. + Operators ---------