1 Return-Path: <david@tethera.net>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by arlo.cworth.org (Postfix) with ESMTP id 9BCF36DE13EA
\r
6 for <notmuch@notmuchmail.org>; Mon, 20 Apr 2015 16:48:21 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0.347 tagged_above=-999 required=5 tests=[AWL=0.347]
\r
13 Received: from arlo.cworth.org ([127.0.0.1])
\r
14 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id PrefpE2MZOx7 for <notmuch@notmuchmail.org>;
\r
16 Mon, 20 Apr 2015 16:48:19 -0700 (PDT)
\r
17 Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net
\r
19 by arlo.cworth.org (Postfix) with ESMTPS id 173B66DE1003
\r
20 for <notmuch@notmuchmail.org>; Mon, 20 Apr 2015 16:48:19 -0700 (PDT)
\r
21 Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim
\r
22 4.80) (envelope-from <david@tethera.net>)
\r
23 id 1YkLPU-0008TM-NW; Mon, 20 Apr 2015 23:47:28 +0000
\r
24 Received: (nullmailer pid 30923 invoked by uid 1000); Mon, 20 Apr 2015
\r
26 From: David Bremner <david@tethera.net>
\r
27 To: matt@bubblegen.co.uk, notmuch@notmuchmail.org
\r
28 Subject: Re: quirks with subject searching
\r
29 In-Reply-To: <10f88378b37e653bba961be66183d2d5.squirrel@webmail.plus.net>
\r
30 References: <10f88378b37e653bba961be66183d2d5.squirrel@webmail.plus.net>
\r
31 User-Agent: Notmuch/0.19+96~g703c8f9 (http://notmuchmail.org) Emacs/24.4.1
\r
32 (x86_64-pc-linux-gnu)
\r
33 Date: Tue, 21 Apr 2015 08:47:11 +0900
\r
34 Message-ID: <87383ufjls.fsf@maritornes.cs.unb.ca>
\r
36 Content-Type: text/plain
\r
37 X-BeenThere: notmuch@notmuchmail.org
\r
38 X-Mailman-Version: 2.1.18
\r
40 List-Id: "Use and development of the notmuch mail system."
\r
41 <notmuch.notmuchmail.org>
\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
45 List-Post: <mailto:notmuch@notmuchmail.org>
\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
49 X-List-Received-Date: Mon, 20 Apr 2015 23:48:21 -0000
\r
51 Matthew Lear <matt@bubblegen.co.uk> writes:
\r
55 > an item: XYfoo1234
\r
56 > an item: XYfoo bar
\r
58 > ... only the first two are found.
\r
61 > * notmuch searching for subject:"item: f" gives zero results.
\r
63 notmuch (and xapian) are based on searching for words, not
\r
64 substrings. It only finds subwords through a process of stemming [1].
\r
67 > * notmuch searching for subject:"(*foo*)" results in the first two threads
\r
68 > being found and also a thread with the word footprint in the middle of the
\r
69 > subject being found (subject is "memory footprint without feature").
\r
71 wildcards [2] are supported only at the end of words, so I suppose the first
\r
75 > Why doesn't notmuch search subject:foo find all four threads, and why
\r
76 > doesn't notmuch search subject:"item: f" find anything at all?
\r
78 Hopefully the above clears it up. This topic comes up fairly often; I'm
\r
79 not sure if there is something we could add to the (already rather
\r
80 long) notmuch-search-terms manpage that would help.
\r
83 [1] "Stemming" in notmuch-search-terms (7)
\r
84 [2] "Wildcards" in notmuch-search-terms (7)
\r