X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fdatabase.cc;fp=lib%2Fdatabase.cc;h=09ab9cb037475f7e07a4af5d3ac6dc975c25919e;hp=f33f0af6a7145a603a7ed9eb42bed44c442deba4;hb=b22386f353fb30a0d6ccffb32b7339d69f12b85f;hpb=6b0cf9b21a8fe8b9a3cd9479e46835bb0eef024b 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. *