From: Carl Worth <cworth@cworth.org>
To: Rob Browning <rlb@defaultvalue.org>
Cc: notmuch@notmuchmail.org
Subject: Re: Folder-based searching
Date: Tue, 18 Jan 2011 11:09:54 -0800 [thread overview]
Message-ID: <87aaiy3u65.fsf@yoom.home.cworth.org> (raw)
In-Reply-To: <87oc7fe590.fsf@raven.defaultvalue.org>
[-- Attachment #1: Type: text/plain, Size: 1099 bytes --]
On Mon, 17 Jan 2011 12:48:11 -0600, Rob Browning <rlb@defaultvalue.org> wrote:
> 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?
>
> i.e. which of these, if any, is "folder:foo/bar" like?
>
> (.*/)?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.
-Carl
--
carl.d.worth@intel.com
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2011-01-18 19:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-15 22:46 Folder-based searching Carl Worth
2011-01-17 6:17 ` Xavier Maillard
2011-01-17 12:43 ` Sebastian Spaeth
2011-01-17 13:00 ` Sebastian Spaeth
2011-03-12 23:44 ` [PATCH] test: "search-by-folder" single-word search terms should be updated correctly when directories are renamed Pieter Praet
2011-05-12 13:22 ` Pieter Praet
2011-05-12 16:04 ` Jameson Graef Rollins
2011-05-13 8:06 ` [PATCH] test: do folder-based search with a single-term path after moving message Pieter Praet
2011-01-17 18:48 ` Folder-based searching Rob Browning
2011-01-18 19:09 ` Carl Worth [this message]
2011-01-18 19:54 ` Rob Browning
2011-01-18 20:16 ` Carl Worth
2011-01-19 7:29 ` Austin Clements
-- strict thread matches above, loose matches on Subject: below --
2011-01-21 10:45 mazieres-6kd3dvy8f9kx6dc7vcsytfvnai
2011-01-21 16:59 ` Carl Worth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87aaiy3u65.fsf@yoom.home.cworth.org \
--to=cworth@cworth.org \
--cc=notmuch@notmuchmail.org \
--cc=rlb@defaultvalue.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).