On Mon, 17 Jan 2011 12:48:11 -0600, Rob Browning <rlb at 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 at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<http://notmuchmail.org/pipermail/notmuch/attachments/20110118/d31c1d7d/attachment.pgp>
  • Fol... Carl Worth
    • ... Xavier Maillard
    • ... Sebastian Spaeth
      • ... Sebastian Spaeth
        • ... Pieter Praet
          • ... Pieter Praet
            • ... Jameson Graef Rollins
              • ... Pieter Praet
    • ... Rob Browning
      • ... Carl Worth
        • ... Rob Browning
          • ... Carl Worth
          • ... Austin Clements
    • ... mazieres-6kd3dvy8f9kx6dc7vcsytfv...@temporary-address.scs.stanford.edu
      • ... Carl Worth

Reply via email to