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 56E73431FDC for ; Mon, 2 Mar 2015 10:20:13 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 2.438 X-Spam-Level: ** X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 tests=[DNS_FROM_AHBL_RHSBL=2.438] 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 P6FGTanKUYto for ; Mon, 2 Mar 2015 10:20:10 -0800 (PST) Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net [87.98.215.224]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id E5E3C418C27 for ; Mon, 2 Mar 2015 00:36:36 -0800 (PST) Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim 4.80) (envelope-from ) id 1YRpVH-0007ZC-DL; Sat, 28 Feb 2015 22:04:55 +0000 Received: (nullmailer pid 3485 invoked by uid 1000); Sat, 28 Feb 2015 22:04:42 -0000 From: David Bremner To: Matthew Lear Subject: Re: Inspired but need help searching folder names containing spaces In-Reply-To: <87wq328kw5.fsf@maritornes.cs.unb.ca> References: <54E3BAE1.1030004@bubblegen.co.uk> <87pp97sldj.fsf@maritornes.cs.unb.ca> <87zj88wjgy.fsf@nikula.org> <79D823A8-925A-478E-9734-9702C311A4F8@bubblegen.co.uk> <87wq328kw5.fsf@maritornes.cs.unb.ca> User-Agent: Notmuch/0.19+67~gdbe9924 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) Date: Sat, 28 Feb 2015 23:04:42 +0100 Message-ID: <87oaod8zgl.fsf@maritornes.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain 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: Mon, 02 Mar 2015 18:20:13 -0000 David Bremner writes: > > I'm not sure about the exact syntax, but some separate prefix to mean > only in the To header would be possible. As far as I know we'd need to > add more terms to the database [1], so you'd need to convince people > that the increase in the size of everyone's database was worthwhile. And > of course someone needs to write the code, but it would not be that > hard, I think. Austin pointed out on IRC that if we had fields indexed seperately then the current query parser then we could actually use the current Xapian query parser to generate an OR of several database fields from a single query prefix. So if someone wanted to take this on, that would probably be the way to go. d