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 7B4A2431FB6 for ; Sat, 18 Feb 2012 16:57:00 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 7rP5mpGV9TOg for ; Sat, 18 Feb 2012 16:56:58 -0800 (PST) Received: from dmz-mailsec-scanner-3.mit.edu (DMZ-MAILSEC-SCANNER-3.MIT.EDU [18.9.25.14]) by olra.theworths.org (Postfix) with ESMTP id 22F6D431FAE for ; Sat, 18 Feb 2012 16:56:58 -0800 (PST) X-AuditID: 1209190e-b7f7c6d0000008c3-ab-4f4048d94242 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) by dmz-mailsec-scanner-3.mit.edu (Symantec Messaging Gateway) with SMTP id E2.21.02243.9D8404F4; Sat, 18 Feb 2012 19:56:57 -0500 (EST) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id q1J0utKJ005968; Sat, 18 Feb 2012 19:56:56 -0500 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q1J0urvv013753 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Sat, 18 Feb 2012 19:56:54 -0500 (EST) Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77) (envelope-from ) id 1Ryv3Q-0005s2-Pg; Sat, 18 Feb 2012 19:55:04 -0500 Date: Sat, 18 Feb 2012 19:55:04 -0500 From: Austin Clements To: Jameson Graef Rollins Subject: Re: search by date range Message-ID: <20120219005504.GN5991@mit.edu> References: <87ehtu7j9z.fsf@plc.plecavalier.com> <87k43m6013.fsf@nikula.org> <87boovmz9q.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87boovmz9q.fsf@servo.finestructure.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprKKsWRmVeSWpSXmKPExsUixG6nonvTw8Hf4FSLrkXTdGeLPfu8LK7f nMlsMen+PGYHFo+7p7k8bt1/ze7xbNUtZo+H598wBbBEcdmkpOZklqUW6dslcGX07L7AVvCT vWLP08uMDYzb2boYOTkkBEwkni3dwwphi0lcuLceKM7FISSwj1Gi4cJedghnA6PEpWNboZyT TBIPJ79hhnCWMEpM2NoJ1s8ioCrRNOcyE4jNJqAhsW3/ckYQW0TATKLnyx8wm1mgSGLhtGNg trCAokT/5l1gd/AKaEss/LyNHcQWEqiUeLpjJxNEXFDi5MwnLBC9WhI3/r0EinMA2dISy/9x gIQ5BUwlZnWuBRsjKqAiMeXkNrYJjEKzkHTPQtI9C6F7ASPzKkbZlNwq3dzEzJzi1GTd4uTE vLzUIl1jvdzMEr3UlNJNjKDQ55Tk28H49aDSIUYBDkYlHl7HHjt/IdbEsuLK3EOMkhxMSqK8 Tq4O/kJ8SfkplRmJxRnxRaU5qcWHGCU4mJVEeEtv2vsL8aYkVlalFuXDpKQ5WJTEedW03vkJ CaQnlqRmp6YWpBbBZGU4OJQkeMWBMS4kWJSanlqRlplTgpBm4uAEGc4DNFwWpIa3uCAxtzgz HSJ/ilFRSpz3vTtQQgAkkVGaB9cLS02vGMWBXhHm/Q1SxQNMa3Ddr4AGMwEN5hWyAxlckoiQ kmpg3BChUXF6r3Jh5geWOdPUyzU7u6fl2HMsbDKf8vKiu8nv5aGbLP+u/GCZdWb1fKE3GRMP +Zvnzck7xqigWVHteTimcJ2P+nbmZOHVklWr5Xeyb3k0T3XO73P9TMfe3vZJ+5y22K1u0ZoJ TfIb4m5Nfxtrx1IueyDh1faQay77v9Ue2vXv0FfGt0osxRmJhlrMRcWJAA5bawwoAwAA Cc: notmuch@notmuchmail.org 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: Sun, 19 Feb 2012 00:57:00 -0000 Quoth Jameson Graef Rollins on Feb 18 at 4:40 pm: > On Thu, 16 Feb 2012 21:39:04 +0200, Jani Nikula wrote: > > Finally, I've been working on adding support for a decent date range > > search. It still needs some polish and tests, but seeing the demand, > > perhaps I should just post the patches and see what happens. > > A while back Austin also worked on a custom query parser [0] that > supported more natural language date specification. He has threatened > to resurrect that patch set as well. > > jamie. > > [0] id:"1293084024-7893-1-git-send-email-amdragon@mit.edu" Really you want v2, id:"1295165458-9573-1-git-send-email-amdragon@mit.edu" Ideally we would use a combination of my query parser and Jani's date parser. The date parser I included with my query parser was just a simple demonstration whereas Jani's parser (I hear) is much more complete but has some peculiarities that stem from Xapian's query parser (like not being able to use spaces in dates).