From 5a815e0140c7364ec694568a15af28c74ad66325 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Sun, 9 Dec 2012 13:16:18 +1600 Subject: [PATCH] Re: [PATCH] TODO: date range queries - check --- 04/b1577684dd0e1be829a7b7a77221e99487d0ea | 102 ++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 04/b1577684dd0e1be829a7b7a77221e99487d0ea diff --git a/04/b1577684dd0e1be829a7b7a77221e99487d0ea b/04/b1577684dd0e1be829a7b7a77221e99487d0ea new file mode 100644 index 000000000..b450174a2 --- /dev/null +++ b/04/b1577684dd0e1be829a7b7a77221e99487d0ea @@ -0,0 +1,102 @@ +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 94E56431FAF + for ; Sat, 8 Dec 2012 13:16:31 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.3 +X-Spam-Level: +X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3] 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 4xmC413PkIN5 for ; + Sat, 8 Dec 2012 13:16:31 -0800 (PST) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + by olra.theworths.org (Postfix) with ESMTP id 31CAF431FAE + for ; Sat, 8 Dec 2012 13:16:31 -0800 (PST) +Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by earth-doxen-postvirus (Postfix) with ESMTP id AF57C66E00E3; + Sat, 8 Dec 2012 13:16:28 -0800 (PST) +X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new +Received: from finestructure.net (cpe-76-166-145-133.socal.res.rr.com + [76.166.145.133]) (Authenticated sender: jrollins) + by earth-doxen-submit (Postfix) with ESMTP id A0F2266E00B4; + Sat, 8 Dec 2012 13:16:20 -0800 (PST) +Received: by finestructure.net (Postfix, from userid 1000) + id 4925F6171E; Sat, 8 Dec 2012 13:16:20 -0800 (PST) +From: Jameson Graef Rollins +To: David Bremner , Jani Nikula , + notmuch@notmuchmail.org +Subject: Re: [PATCH] TODO: date range queries - check +In-Reply-To: <87r4n0smot.fsf@zancas.localnet> +References: <1354833276-6219-1-git-send-email-jani@nikula.org> + <877gouine4.fsf@servo.finestructure.net> + <871uf2ukat.fsf@zancas.localnet> + <877gothkzw.fsf@servo.finestructure.net> + <87624dzgso.fsf@nikula.org> + <87boe5fsdn.fsf@servo.finestructure.net> + <87r4n0smot.fsf@zancas.localnet> +User-Agent: Notmuch/0.14+143~g175686e (http://notmuchmail.org) Emacs/24.2.1 + (x86_64-pc-linux-gnu) +Date: Sat, 08 Dec 2012 13:16:18 -0800 +Message-ID: <871uf0fdnh.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; protocol="application/pgp-signature" +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: Sat, 08 Dec 2012 21:16:31 -0000 + +--=-=-= +Content-Type: text/plain + +On Sat, Dec 08 2012, David Bremner wrote: +> Patch? Concrete wording suggestion? + +How about: + +It would be nice to not require both endpoints to be specified in date +searches. For example it would be nice to be able to say things like +"date:2009-01-1", to specify a search over a particular day, or +"since:'1 month' to specify an open-ended range, and have the other +endpoint be implicit. To do any of this we're probably going to need to +break down an write our own parser for the query string rather than +using Xapian's QueryParser class. + +jamie. + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQIcBAEBCAAGBQJQw64iAAoJEO00zqvie6q8x0kP/RHUwQb6zXWTWeHL8E5crK/P +0Slw/HrNVq9MrG+5VasTnxeVH5d0k8cjbrL28VlAdZTI++0g2e4+ICTRZi2Ca7rX +1n3lYD/1A5COEU5a++zBpwZXL1sofOGxPEuhUGa4Z7IRx3kiN+4YwUDrwQCkwR4M +VO7zIC3mIJG1LybLv8HoDL8BWH1q+df42TTM+gKMtJdrUxDjxnorKgIQ9cXrPKdL +oE6uDpBgIcFJ+Q/ZglCi3+c9k/6rx9ZnMtTCvTQBZ8hUPoR0OQICeFE/Zsj9E/H+ +TGudBOMV4vhoioNHlKZqv3JLx/cOigbs94IuHy1yUaB8xr/ojyC1clESqilVwjMg +LMN8ftZ8R5QjGbEAQGIQIk3p9tTpFqF6G9Gdo+YV7mjs1Ti0Yuu50itVY1LCyOqG +/6RcH9M1pfqf8ZFMBBJQYu5UB9vFB8cq7Ocux4INz66aiuAhvR+6tAvV6kiTGrqq +B/sLMorOUyCELSNS6xbTM7F8PTc1Lj5LKOiz/0QOuaZw83ja8/jqtaARgwl+XY7X +OYb07bSVBbIt72Ee+JnCiELeLLfYGTqELozTRfQBlTa7N6gSbo/BRKxT2GHI0XQ7 +jFx0EvgTfYeDdx2ad0Xt5iZlJFpsxLjvrQVVBbM2Jub5ubgX+xGjQzFfdDT6DfXj +puLnTezmpPSG4jU1l7D1 +=87Hu +-----END PGP SIGNATURE----- +--=-=-=-- -- 2.26.2