Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 42 / 7e82fc19e744dba086d7e5ed6b03fa46dd3367
1 Return-Path: <jani@nikula.org>\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 olra.theworths.org (Postfix) with ESMTP id 8CF00429E21\r
6         for <notmuch@notmuchmail.org>; Fri, 20 Feb 2015 10:11:25 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 1.738\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.738 tagged_above=-999 required=5\r
12         tests=[DNS_FROM_AHBL_RHSBL=2.438, RCVD_IN_DNSWL_LOW=-0.7]\r
13         autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id nFtGeD3k5W8j for <notmuch@notmuchmail.org>;\r
17         Fri, 20 Feb 2015 10:11:22 -0800 (PST)\r
18 Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com\r
19         [209.85.212.180]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id E4910431FD6\r
22         for <notmuch@notmuchmail.org>; Fri, 20 Feb 2015 10:11:21 -0800 (PST)\r
23 Received: by mail-wi0-f180.google.com with SMTP id h11so4630795wiw.1\r
24         for <notmuch@notmuchmail.org>; Fri, 20 Feb 2015 10:00:42 -0800 (PST)\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
26         d=1e100.net; s=20130820;\r
27         h=x-gm-message-state:from:to:cc:subject:in-reply-to:references\r
28         :user-agent:date:message-id:mime-version:content-type;\r
29         bh=/OMOEC+PfF/C8yRAz4mJGPDT7oOLkgXKAaZ71cnCem0=;\r
30         b=XSVuWRzblP9JC/V1pdLcAD6ocmQC4aT8pIflfD8sQQRrMfHmO6z2Whb05b8EErSgje\r
31         MRvVdlZmSnAdOuk/9sRyoolUFB6bsjfEAyGYc6lkOSeV4NDDT6lmVyGv3HlYNsxjz6Nu\r
32         6S3EuU1C0sYWA8MHx7eO1kJ7YKjgh/+ajd8OJliTlEq+0bxVEGLFhr2MMrHSv3HSFkLB\r
33         vCVCKSKA+7BXIwTb8AN6GRPHkNFauklITfbgweFkrbqtGb4S0mA1myJEVC8K0CcUX4DR\r
34         57wLf6VtYbNKHxabpi7KrNfbBT0a/7tnF969HnCyv/aljA1L2HWoeH36gFON6+pJ37o0\r
35         mVnA==\r
36 X-Gm-Message-State:\r
37  ALoCoQk4mwFKDRLVK/kk+vMnSmW5c46mGVIxFDTQyA3KVKgvZPEtjXpLcgiDh5svqD+fywsiYQcI\r
38 X-Received: by 10.180.221.73 with SMTP id qc9mr183871wic.8.1424455241004;\r
39         Fri, 20 Feb 2015 10:00:41 -0800 (PST)\r
40 Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3])\r
41         by mx.google.com with ESMTPSA id v16sm3394492wib.5.2015.02.20.10.00.39\r
42         (version=TLSv1.1 cipher=RC4-SHA bits=128/128);\r
43         Fri, 20 Feb 2015 10:00:40 -0800 (PST)\r
44 From: Jani Nikula <jani@nikula.org>\r
45 To: matt@bubblegen.co.uk, David Bremner <david@tethera.net>\r
46 Subject: Re: Inspired but need help searching folder names containing spaces\r
47 In-Reply-To: <ed7f5ff35a6d784885b68666fe5b5898.squirrel@webmail.plus.net>\r
48 References: <54E3BAE1.1030004@bubblegen.co.uk>\r
49         <87pp97sldj.fsf@maritornes.cs.unb.ca>\r
50         <ed7f5ff35a6d784885b68666fe5b5898.squirrel@webmail.plus.net>\r
51 User-Agent: Notmuch/0.19+48~gb74ed1c (http://notmuchmail.org) Emacs/23.2.1\r
52         (x86_64-pc-linux-gnu)\r
53 Date: Fri, 20 Feb 2015 19:01:17 +0100\r
54 Message-ID: <87zj88wjgy.fsf@nikula.org>\r
55 MIME-Version: 1.0\r
56 Content-Type: text/plain; charset=us-ascii\r
57 Cc: notmuch@notmuchmail.org\r
58 X-BeenThere: notmuch@notmuchmail.org\r
59 X-Mailman-Version: 2.1.13\r
60 Precedence: list\r
61 List-Id: "Use and development of the notmuch mail system."\r
62         <notmuch.notmuchmail.org>\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
64         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
66 List-Post: <mailto:notmuch@notmuchmail.org>\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
69         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
70 X-List-Received-Date: Fri, 20 Feb 2015 18:11:25 -0000\r
71 \r
72 On Fri, 20 Feb 2015, Matthew Lear <matt@bubblegen.co.uk> wrote:\r
73 > A couple of others things have surprised me, though. Using the date search\r
74 > option, such as date:"today" or date:"yesterday", hasn't quite thrown up\r
75 > what I expected. Searching with date:"today" shows up no results (which I\r
76 > know is wrong) and searching with date:"yesterday" shows up a handful of\r
77 > emails all from the same person, in different threads which all arrived on\r
78 > a day in May 2014... Got to be a bug there somewhere :-D\r
79 \r
80 This is a known limitation in the date: prefix queries. You have to\r
81 specify it as a range, for example date:today..today (from the beginning\r
82 of today until the end of today). If the underlying Xapian search engine\r
83 is not given a range expression (with the "..") it searches for the\r
84 words "date today" without punctuation, matching whatever it matches,\r
85 and notmuch does not even get an error for it.\r
86 \r
87 HTH,\r
88 Jani.\r
89 \r