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 56385431FAF
\r
6 for <notmuch@notmuchmail.org>; Sat, 8 Dec 2012 14:32:24 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id P4iIK49Mpccq for <notmuch@notmuchmail.org>;
\r
16 Sat, 8 Dec 2012 14:32:24 -0800 (PST)
\r
17 Received: from mail-la0-f53.google.com (mail-la0-f53.google.com
\r
18 [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 96CA7431FAE
\r
21 for <notmuch@notmuchmail.org>; Sat, 8 Dec 2012 14:32:23 -0800 (PST)
\r
22 Received: by mail-la0-f53.google.com with SMTP id w12so1233015lag.26
\r
23 for <notmuch@notmuchmail.org>; Sat, 08 Dec 2012 14:32:22 -0800 (PST)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=google.com; s=20120113;
\r
26 h=from:to:subject:in-reply-to:references:user-agent:date:message-id
\r
27 :mime-version:content-type:x-gm-message-state;
\r
28 bh=RHpudp8+5dHgPrpKX0WE7Tba+DWOqeyvBA+TvzW1plA=;
\r
29 b=MXObHArKFSaEA0TcXFEbSpsP8UoFOZT7Vn1OUKVQjQ1SpUl3BjdS8kekqotBs68Xgx
\r
30 n8jVv40d3tY8yXyNtlcLxA4E2He3uDVaeYnK7ksjZ1Vy8TAlZSHg2G7/FiISuTFhS7fa
\r
31 fFreXTDAyaq0Awc4k4uB4GTPLi0q46f3NfhZhhz8Gk+FObKuD4iD+4V00X1W2bv/QnLO
\r
32 meRl/ZqUKIyUbDd+HxRSRs9e1nRN0ut2Tzn0yhLK7jcQ9+usn9F3fiIYXKtm+X8SnJ4q
\r
33 dewYcHBwvbCbShxzp6p/PKHJJOQBMsrzRnoMv0EZOmcPZU3ht9h8e7Ucc4XKcssvXQi2
\r
35 Received: by 10.112.49.97 with SMTP id t1mr4175596lbn.58.1355005942049;
\r
36 Sat, 08 Dec 2012 14:32:22 -0800 (PST)
\r
37 Received: from localhost (dsl-hkibrasgw4-fe51df00-27.dhcp.inet.fi.
\r
39 by mx.google.com with ESMTPS id pg5sm4598575lab.6.2012.12.08.14.32.19
\r
40 (version=SSLv3 cipher=OTHER); Sat, 08 Dec 2012 14:32:20 -0800 (PST)
\r
41 From: Jani Nikula <jani@nikula.org>
\r
42 To: Jameson Graef Rollins <jrollins@finestructure.net>,
\r
43 David Bremner <david@tethera.net>, notmuch@notmuchmail.org
\r
44 Subject: Re: [PATCH] TODO: date range queries - check
\r
45 In-Reply-To: <871uf0fdnh.fsf@servo.finestructure.net>
\r
46 References: <1354833276-6219-1-git-send-email-jani@nikula.org>
\r
47 <877gouine4.fsf@servo.finestructure.net>
\r
48 <871uf2ukat.fsf@zancas.localnet>
\r
49 <877gothkzw.fsf@servo.finestructure.net>
\r
50 <87624dzgso.fsf@nikula.org>
\r
51 <87boe5fsdn.fsf@servo.finestructure.net>
\r
52 <87r4n0smot.fsf@zancas.localnet>
\r
53 <871uf0fdnh.fsf@servo.finestructure.net>
\r
54 User-Agent: Notmuch/0.14+138~g7041c56 (http://notmuchmail.org) Emacs/23.4.1
\r
56 Date: Sun, 09 Dec 2012 00:32:18 +0200
\r
57 Message-ID: <87sj7gp43x.fsf@nikula.org>
\r
59 Content-Type: text/plain; charset=us-ascii
\r
61 ALoCoQk3aBWPYQu9G36xiQS0ZdO9Ldqgh3iocdVwmkDWz2oZM0KHltkqa9iiVKdzWZxhPWh3PgX0
\r
62 X-BeenThere: notmuch@notmuchmail.org
\r
63 X-Mailman-Version: 2.1.13
\r
65 List-Id: "Use and development of the notmuch mail system."
\r
66 <notmuch.notmuchmail.org>
\r
67 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
68 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
69 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
70 List-Post: <mailto:notmuch@notmuchmail.org>
\r
71 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
72 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
73 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
74 X-List-Received-Date: Sat, 08 Dec 2012 22:32:24 -0000
\r
76 On Sat, 08 Dec 2012, Jameson Graef Rollins <jrollins@finestructure.net> wrote:
\r
77 > On Sat, Dec 08 2012, David Bremner <david@tethera.net> wrote:
\r
78 >> Patch? Concrete wording suggestion?
\r
82 > It would be nice to not require both endpoints to be specified in date
\r
83 > searches. For example it would be nice to be able to say things like
\r
84 > "date:2009-01-1", to specify a search over a particular day, or
\r
85 > "since:'1 month' to specify an open-ended range, and have the other
\r
86 > endpoint be implicit. To do any of this we're probably going to need to
\r
87 > break down an write our own parser for the query string rather than
\r
88 > using Xapian's QueryParser class.
\r
90 FWIW, this means, in practice:
\r
92 Make date:<expr> an alias for date:<expr>..<expr>
\r
94 Make since:<expr> an alias for date:<expr>..
\r
96 Make until:<expr> an alias for date:..<expr>
\r
98 We'll either need to write our own query parser or some new features to
\r
99 upstream Xapian to do any of these.
\r