From: Matthew Lear Date: Mon, 20 Apr 2015 13:35:29 +0000 (+0100) Subject: quirks with subject searching X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8d85ee64e4f7a426e8e26a3f0c7565b55d3b87e1;p=notmuch-archives.git quirks with subject searching --- diff --git a/96/f0bd8d8da068c6d7bd9e7a4d219b7cd99d3e22 b/96/f0bd8d8da068c6d7bd9e7a4d219b7cd99d3e22 new file mode 100644 index 000000000..9fb9c9898 --- /dev/null +++ b/96/f0bd8d8da068c6d7bd9e7a4d219b7cd99d3e22 @@ -0,0 +1,103 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 6742B6DE0AB8 + for ; Mon, 20 Apr 2015 06:43:14 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.255 +X-Spam-Level: +X-Spam-Status: No, score=0.255 tagged_above=-999 required=5 tests=[AWL=0.975, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, + RCVD_IN_MSPIKE_WL=-0.01] 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 YZdraBpSDa9S for ; + Mon, 20 Apr 2015 06:43:12 -0700 (PDT) +X-Greylist: delayed 457 seconds by postgrey-1.35 at arlo; + Mon, 20 Apr 2015 06:43:12 PDT +Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) + by arlo.cworth.org (Postfix) with ESMTPS id 06C8F6DE005F + for ; Mon, 20 Apr 2015 06:43:11 -0700 (PDT) +Received: from webmail04.plus.net ([84.93.228.66]) by avasout07 with smtp + id JDbV1q00C1SbfYc01DbV8L; Mon, 20 Apr 2015 14:35:31 +0100 +X-CM-Score: 0.00 +X-CNFS-Analysis: v=2.1 cv=fZwjyigF c=1 sm=1 tr=0 + a=C5+YawzV8SR07mwocaP9vA==:117 a=Pqgwzd+QtBWunNm/3vzkeA==:17 a=0Bzu9jTXAAAA:8 + a=fne2aKG5GRsA:10 a=wPDyFdB5xvgA:10 a=8nJEP1OIZ-IA:10 a=80hmnl3cAAAA:8 + a=e9J7MTPGsLIA:10 a=o1OoQkZ8ZyjI89OqQC4A:9 a=wPNLvfGTeEIA:10 +Received: from localhost ([127.0.0.1] helo=webmail.plus.net) + by webmail04.plus.net with esmtp (Exim 4.76) + (envelope-from ) id 1YkBrF-0000wt-Sz + for notmuch@notmuchmail.org; Mon, 20 Apr 2015 14:35:29 +0100 +Received: from 216.31.211.11 (proxying for unknown) + (SquirrelMail authenticated user bubblegen+matt) + by webmail.plus.net with HTTP; Mon, 20 Apr 2015 14:35:29 +0100 +Message-ID: <10f88378b37e653bba961be66183d2d5.squirrel@webmail.plus.net> +Date: Mon, 20 Apr 2015 14:35:29 +0100 +Subject: quirks with subject searching +From: "Matthew Lear" +To: notmuch@notmuchmail.org +Reply-To: matt@bubblegen.co.uk +User-Agent: SquirrelMail +MIME-Version: 1.0 +Content-Type: text/plain;charset=iso-8859-1 +Content-Transfer-Encoding: 8bit +X-Priority: 3 (Normal) +Importance: Normal +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +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: Mon, 20 Apr 2015 13:43:14 -0000 + +Hello all, +This may well be due to my novice use of search syntax, but I'm having +issues find needle in haystack within the subject of an email thread. +This simple example highlights the problem I'm having: + +When using notmuch search subject:foo for threads with the following +subjects... + +item: foo +an item: foo +an item: XYfoo1234 +an item: XYfoo bar + +... only the first two are found. + +Also: +* notmuch searching for subject:"item: f" gives zero results. + +* notmuch searching for subject:"(*foo*)" results in the first two threads +being found and also a thread with the word footprint in the middle of the +subject being found (subject is "memory footprint without feature"). + +* notmuch searching for subject:"an item: XYfoo1234" results in the third +being found. + +Why doesn't notmuch search subject:foo find all four threads, and why +doesn't notmuch search subject:"item: f" find anything at all? + +This was spurred on by me having a thread with the following as the subject.. + +Release Update: BT52_ETW_MD4.5.4alpha1_take1 + +..and notmuch search subject:4.5.4 finding nothing. + +Something doesn't seem right here. man notmuch-search-terms doesn't seem +to explain this as far as I can see. +FWIW I'm using notmuch from git, master @ 294bb6d. +Any thoughts / tips? +Thanks, +-- Matt +