From 5e0a4521488e56f2bf9b81c0f9e004480f273c88 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Wed, 29 Jan 2014 17:44:31 +1900 Subject: [PATCH] Re: Unexpected search results --- a1/8dbe8f95a9a2cb9fb7793d48c0aa66cd2a00fb | 125 ++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 a1/8dbe8f95a9a2cb9fb7793d48c0aa66cd2a00fb diff --git a/a1/8dbe8f95a9a2cb9fb7793d48c0aa66cd2a00fb b/a1/8dbe8f95a9a2cb9fb7793d48c0aa66cd2a00fb new file mode 100644 index 000000000..ca9e1a1d6 --- /dev/null +++ b/a1/8dbe8f95a9a2cb9fb7793d48c0aa66cd2a00fb @@ -0,0 +1,125 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 97569431FBF + for ; Tue, 28 Jan 2014 14:44:46 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 9dEuuSBHR9ja for ; + Tue, 28 Jan 2014 14:44:37 -0800 (PST) +Received: from dmz-mailsec-scanner-1.mit.edu (dmz-mailsec-scanner-1.mit.edu + [18.9.25.12]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id EC57E431FBD + for ; Tue, 28 Jan 2014 14:44:36 -0800 (PST) +X-AuditID: 1209190c-f794a6d000000c27-21-52e832d3cd7e +Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) + (using TLS with cipher AES256-SHA (256/256 bits)) + (Client did not present a certificate) + by dmz-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP + id B8.7D.03111.3D238E25; Tue, 28 Jan 2014 17:44:35 -0500 (EST) +Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) + by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id s0SMiXhr008412; + Tue, 28 Jan 2014 17:44:34 -0500 +Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) + (authenticated bits=0) + (User authenticated as amdragon@ATHENA.MIT.EDU) + by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s0SMiWda017822 + (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); + Tue, 28 Jan 2014 17:44:33 -0500 +Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.80) + (envelope-from ) + id 1W8HOR-0001bB-NK; Tue, 28 Jan 2014 17:44:31 -0500 +From: Austin Clements +To: paul.melis@surfsara.nl, notmuch@notmuchmail.org +Subject: Re: Unexpected search results +In-Reply-To: <52E63086.1050001@surfsara.nl> +References: <52E63086.1050001@surfsara.nl> +User-Agent: Notmuch/0.17~rc2+14~g06f47e0 (http://notmuchmail.org) Emacs/23.4.1 + (i486-pc-linux-gnu) +Date: Tue, 28 Jan 2014 17:44:31 -0500 +Message-ID: <87lhxzn2uo.fsf@awakening.csail.mit.edu> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-Brightmail-Tracker: + H4sIAAAAAAAAA+NgFnrIIsWRmVeSWpSXmKPExsUixG6nonvZ6EWQwcx3ghbXb85ktuhef5vV + gcnj2apbzB4fGp4wBjBFcdmkpOZklqUW6dslcGVcW/yKvWAWf8WNBXeYGxj38XQxcnJICJhI + TPxwhBHCFpO4cG89WxcjF4eQwGwmiW/z7rBAOBsZJdoebWeGcE4zSTx9cxrKWcIo8XBOEwtI + P5uAhsS2/cvBZokIGEt0HD3OBmILC6hJXDs1ASzOKaAtsedzD5DNAdSsJfHlNDdIWFQgSeL0 + 1N+sIDaLgKpE399TTCA2L8h5b56yQdiCEidnPgFbxQzUeuPfS6YJjAKzkKRmIUktYGRaxSib + klulm5uYmVOcmqxbnJyYl5dapGuol5tZopeaUrqJERSSnJI8OxjfHFQ6xCjAwajEw7vi4vMg + IdbEsuLK3EOMkhxMSqK81YYvgoT4kvJTKjMSizPii0pzUosPMUpwMCuJ8E6XBMrxpiRWVqUW + 5cOkpDlYlMR5b3LYBwkJpCeWpGanphakFsFkZTg4lCR434MMFSxKTU+tSMvMKUFIM3Fwggzn + ARoeDlLDW1yQmFucmQ6RP8WoKCXOu8QAKCEAksgozYPrhaWMV4ziQK8I814BaecBphu47ldA + g5mABq/c9wRkcEkiQkqqgVE16fKi+qOhf7yDpxj1cWTNr+a+NltlosvM4im2cjffcSif6nUU + y1lv8jWXp9h1+8Ou5/ejXNYeEuq9ohV/gNXlwFfp3TX5lnPn1hbujGW6VX1nx3LmRRF6tx54 + aLVtcXydOEEz3KFn6e2fXdl8DHOqGGY69OWKp922meW0s/W3seD3lzLZv5VYijMSDbWYi4oT + ASFQ1Lr0AgAA +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Tue, 28 Jan 2014 22:44:46 -0000 + +Notmuch uses word-based indexing, not a sub-string indexing (think +Google, not grep), which is why your prefix searches didn't return +anything. Based on your search results, it looks like the emails you +found were from "Demiurg HG ". from:demiurg returned +these results because it matched the name part of the from address, not +the email address itself (from:demiurghg would also have returned these +results, but by matching the email address). + +On Mon, 27 Jan 2014, Paul Melis wrote: +> Hi, +> +> How exactly does the search function work when it comes to things like +> searching in the from or subject field? See the below queries and (lack +> of) results: +> +> paulmlocal@sara11006:/data$ notmuch search from:dem +> paulmlocal@sara11006:/data$ notmuch search from:demi +> paulmlocal@sara11006:/data$ notmuch search from:demiu +> paulmlocal@sara11006:/data$ notmuch search from:demiur +> paulmlocal@sara11006:/data$ notmuch search from:demiurg +> thread:0000000000012d53 January 18 [1/5] Demiurg HG| Paul Melis, XXXXX +> thread:0000000000011b82 November 14 [3/6] Demiurg HG| Paul Melis; XXXXX +> +> Only the last queries returns the mails I was looking for, while +> prefixes of the query don't return anything. Even stranger is that the +> actual from e-mail address is demiurghg@...., so why does "from:demiurg" +> match (which is also a prefix of the mail address), but all the other +> don't match? +> +> Thanks for a great tool, btw! +> +> Regards, +> Paul +> +> +> -- +> ** SURFsara heeft een nieuw algemeen telefoonnummer: 020 800 1300 ** +> +> Paul Melis +> | Groepsleider & Adviseur Visualisatie | SURFsara | +> | Science Park 140 | 1098 XG Amsterdam | +> | T 020 592 30 59 | paul.melis@surfsara.nl | www.surfsara.nl | +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch -- 2.26.2