unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Matt Armstrong <marmstrong@google.com>,
	David Bremner <david@tethera.net>,
	notmuch@notmuchmail.org
Subject: [PATCH 3/4] lib: update commentary about path/folder terms
Date: Tue, 12 Mar 2019 21:47:11 -0300	[thread overview]
Message-ID: <20190313004712.13359-4-david@tethera.net> (raw)
In-Reply-To: <20190313004712.13359-1-david@tethera.net>

We missed this when we changed to binary fields.
---
 lib/database.cc | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/lib/database.cc b/lib/database.cc
index f33f0af6..09ab9cb0 100644
--- a/lib/database.cc
+++ b/lib/database.cc
@@ -124,9 +124,11 @@ typedef struct {
  *
  * In addition, terms from the content of the message are added with
  * "from", "to", "attachment", and "subject" prefixes for use by the
- * user in searching. Similarly, terms from the path of the mail
- * message are added with "folder" and "path" prefixes. But the
- * database doesn't really care itself about any of these.
+ * user in searching.
+ *
+ * The path of the containing folder is added with the "folder" prefix
+ * (see _notmuch_message_add_folder_terms).  Sub-paths of the the path
+ * of the mail message are added with the "path" prefix.
  *
  * The data portion of a mail document is empty.
  *
-- 
2.20.1

  parent reply	other threads:[~2019-03-13  0:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-18 11:56 [PATCH] WIP: add searching by body: David Bremner
2019-02-18 13:06 ` David Bremner
2019-03-04  2:29 ` [PATCH] lib: add 'body:' field, stop indexing headers twice David Bremner
2019-03-05  1:26   ` Matt Armstrong
2019-03-13  0:47     ` v2. add body: / drop double indexing of headers David Bremner
2019-03-13  0:47       ` [PATCH 1/4] lib: drop comment about only indexing one file David Bremner
2019-03-13  0:47       ` [PATCH 2/4] lib: add clarification about the use of "prefix" in the docs David Bremner
2019-03-13  0:47       ` David Bremner [this message]
2019-03-31 17:53         ` [PATCH 3/4] lib: update commentary about path/folder terms David Bremner
2019-03-13  0:47       ` [PATCH 4/4] lib: add 'body:' field, stop indexing headers twice David Bremner
2019-03-13  5:30         ` David Bremner
2019-03-13 11:44           ` [PATCH] " David Bremner
2019-03-19  0:39             ` David Bremner
2019-03-29 13:17               ` David Bremner
2019-04-14 11:32               ` David Bremner
2019-04-17 11:55               ` David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190313004712.13359-4-david@tethera.net \
    --to=david@tethera.net \
    --cc=marmstrong@google.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).