From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 518A3431FD0 for ; Tue, 18 Jan 2011 11:10:01 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.99 X-Spam-Level: X-Spam-Status: No, score=-0.99 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, T_MIME_NO_TEXT=0.01] 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 az-r6xbmi3aQ; Tue, 18 Jan 2011 11:10:00 -0800 (PST) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 9904D431FB5; Tue, 18 Jan 2011 11:10:00 -0800 (PST) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 3030C2540DE; Tue, 18 Jan 2011 11:10:00 -0800 (PST) From: Carl Worth To: Rob Browning Subject: Re: Folder-based searching In-Reply-To: <87oc7fe590.fsf@raven.defaultvalue.org> References: <87tyh9wzs2.fsf@yoom.home.cworth.org> <87oc7fe590.fsf@raven.defaultvalue.org> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu) Date: Tue, 18 Jan 2011 11:09:54 -0800 Message-ID: <87aaiy3u65.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Tue, 18 Jan 2011 19:10:01 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Mon, 17 Jan 2011 12:48:11 -0600, Rob Browning wro= te: > Nice. Thanks. > So what are the path semantics? For example, is the path case > sensitive or insensitive? Can you say folder:foo/bar, and if so, is the > path rooted, or can it match path sub-segments? >=20 > i.e. which of these, if any, is "folder:foo/bar" like? >=20 > (.*/)?foo/bar(/.*)? That's the right one. It's a case-insensitive, non-rooted search specification. This works in a similar way to 'subject:"some phrase"', (though more people seem to be asking about these details for folder: than have ever asked for subject:). This is the easiest kind of searching to get out of Xapian. However, in the future, I would like to enable users to specify rooted search specifications, (whether with folder:, subject:, or any other prefix). That will require a little care to get some additional terms indexed to support the rooting, then the in-development custom query parser to allow mapping symbols like '^' and '$' to these new symbols. =2DCarl =2D-=20 carl.d.worth@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFNNeWC6JDdNq8qSWgRAiVqAJ0Y3CUhIzhPvWSb4TxUNZMKS0E1TwCglWKV YcMAcrKgqBPeFEAlUIDYaWs= =lSrU -----END PGP SIGNATURE----- --=-=-=--