Re: Xapian locking errors with custom query parser
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 11 Mar 2011 08:58:43 +0000 (09:58 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:59 +0000 (09:37 -0800)
a6/51e2aee37c30c3d9ca32a43d9385d48fd0492b [new file with mode: 0644]

diff --git a/a6/51e2aee37c30c3d9ca32a43d9385d48fd0492b b/a6/51e2aee37c30c3d9ca32a43d9385d48fd0492b
new file mode 100644 (file)
index 0000000..55598ee
--- /dev/null
@@ -0,0 +1,99 @@
+Return-Path: <sojkam1@fel.cvut.cz>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 8FD86431FB5\r
+       for <notmuch@notmuchmail.org>; Fri, 11 Mar 2011 00:59:00 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id WPqRQ+1Z8iAe for <notmuch@notmuchmail.org>;\r
+       Fri, 11 Mar 2011 00:58:59 -0800 (PST)\r
+Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
+       by olra.theworths.org (Postfix) with ESMTP id 7D10A431FB6\r
+       for <notmuch@notmuchmail.org>; Fri, 11 Mar 2011 00:58:59 -0800 (PST)\r
+Received: from localhost (unknown [192.168.200.4])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id D4EB33CFEBE;\r
+       Fri, 11 Mar 2011 09:58:57 +0100 (CET)\r
+X-Virus-Scanned: IMAP AMAVIS\r
+Received: from max.feld.cvut.cz ([192.168.200.1])\r
+       by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
+       port 10044)\r
+       with ESMTP id 3ygpm+MgWmNa; Fri, 11 Mar 2011 09:58:44 +0100 (CET)\r
+Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id B44303CFE82;\r
+       Fri, 11 Mar 2011 09:58:44 +0100 (CET)\r
+Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30])\r
+       (Authenticated sender: sojkam1)\r
+       by imap.feld.cvut.cz (Postfix) with ESMTPSA id 9BB63FA008;\r
+       Fri, 11 Mar 2011 09:58:43 +0100 (CET)\r
+Received: from wsh by steelpick.2x.cz with local (Exim 4.72)\r
+       (envelope-from <sojkam1@fel.cvut.cz>)\r
+       id 1PxyBH-0001rq-Ae; Fri, 11 Mar 2011 09:58:43 +0100\r
+From: Michal Sojka <sojkam1@fel.cvut.cz>\r
+To: Carl Worth <cworth@cworth.org>, Austin Clements <amdragon@MIT.EDU>\r
+Subject: Re: Xapian locking errors with custom query parser\r
+In-Reply-To: <8762rq8byr.fsf@yoom.home.cworth.org>\r
+References: <87d3nhe3g9.fsf@steelpick.2x.cz>\r
+       <AANLkTinW_n+zMtLC-fy=naUGsAiFDwdd-mAqSWEDvF=W@mail.gmail.com>\r
+       <AANLkTinPph9Lj8h3UztQ74qMaaBVKkXB0rbiLeTX2GmW@mail.gmail.com>\r
+       <87lj0m8ki5.fsf@yoom.home.cworth.org>\r
+       <20110311024730.GA31011@mit.edu>\r
+       <8762rq8byr.fsf@yoom.home.cworth.org>\r
+User-Agent: Notmuch/0.5-103-g1253785 (http://notmuchmail.org) Emacs/23.2.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Fri, 11 Mar 2011 09:58:43 +0100\r
+Message-ID: <87k4g6vxrw.fsf@steelpick.2x.cz>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 11 Mar 2011 08:59:00 -0000\r
+\r
+On Fri, 11 Mar 2011, Carl Worth wrote:\r
+> I've finally had a chance to start looking at this.\r
+\r
+[...]\r
+\r
+> 1. For "new" search features (ADJ,NEAR,etc.) I do not have a strong\r
+>    interest in compatibility with Xapian.\r
+> \r
+>    I was very careful when I wrote the documentation for the notmuch\r
+>    search syntax to only document features that I had used and tested,\r
+>    and that I was sure I wanted. (I was already thinking forward to\r
+>    perhaps writing a custom query parser at some point.)\r
+> \r
+>    So you should really use our existing documentation as the\r
+>    guide. Please implement and test what it says.\r
+> \r
+>    Beyond that, if you want to add additional features not mentioned in\r
+>    our documentation, then feel free to, and there's no good reason not\r
+>    to be Xapian compatible. But I also don't think there's a strong\r
+>    reason that we have to be compatible.\r
+\r
+Additionally, I'd suggest to support value range queries for dates with\r
+".." syntax. Besides that some users may relay on this syntax, I use\r
+date searches a lot and with custom query parser I have to type\r
+"after:yesterday", which is unnecessarily long. I wish that\r
+"yesterday..", which is much easier to type, would do the same.\r
+Similarly, "mon..wed" would be easier to type than "after:mon\r
+before:wed". What do you think?\r
+\r
+-Michal\r
+\r