From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 6D2316DE1093 for ; Tue, 12 Mar 2019 17:47:33 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.013 X-Spam-Level: X-Spam-Status: No, score=-0.013 tagged_above=-999 required=5 tests=[AWL=-0.012, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CYeMSkYp2xfN for ; Tue, 12 Mar 2019 17:47:32 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id C5EF86DE108B for ; Tue, 12 Mar 2019 17:47:27 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1h3s3K-0004c0-Pm; Tue, 12 Mar 2019 20:47:26 -0400 Received: (nullmailer pid 13459 invoked by uid 1000); Wed, 13 Mar 2019 00:47:21 -0000 From: David Bremner To: Matt Armstrong , David Bremner , notmuch@notmuchmail.org Subject: [PATCH 3/4] lib: update commentary about path/folder terms Date: Tue, 12 Mar 2019 21:47:11 -0300 Message-Id: <20190313004712.13359-4-david@tethera.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190313004712.13359-1-david@tethera.net> References: <20190313004712.13359-1-david@tethera.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Mar 2019 00:47:33 -0000 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