Re: [PATCH 3/4] lib: update commentary about path/folder terms

2019-03-31 Thread David Bremner
David Bremner  writes:

> We missed this when we changed to binary fields.

pushed these 3 documentation patches.

d
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


[PATCH 3/4] lib: update commentary about path/folder terms

2019-03-12 Thread David Bremner
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

___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch