What''s the syntax for searching multiple labels in one query? Or do I always have to search & refine? -- Thanks, Phil
Excerpts from Philippe LeCavalier''s message of Wed Feb 23 09:25:57 -0500 2011:> What''s the syntax for searching multiple labels in one query? Or do I > always have to search & refine?I use things like this: label:something AND label:other or this: label:something AND is:unread AND is:inbox
"label:apple label:orange" finds all threads which have either the
label
"apple" or the label "orange" (or both).
"label:apple AND label:orange" finds the threads which are labeled
with
"apple" and "orange" at the same time.
For a more detailed description, have a look at
http://sup.rubyforge.org/wiki/wiki.pl?SearchingMail.
Regards,
Gregor
* Philippe LeCavalier <support at plecavalier.com> [Mi Feb 23 15:25:57
+0100 2011]> What''s the syntax for searching multiple labels in one query? Or
do I
> always have to search & refine?
Excerpts from Mark Alexander''s message of Wed Feb 23 08:55:00 -0700 2011:> Excerpts from Philippe LeCavalier''s message of Wed Feb 23 09:25:57 -0500 2011: > > What''s the syntax for searching multiple labels in one query? Or do I > > always have to search & refine? > > I use things like this: > > label:something AND label:other > > or this: > > label:something AND is:unread AND is:inbox >There is a ''U'' shortcut mapped to ''is:unread'' which I always patch to ''is:unread AND is:inbox'' since I leave a ton of mailing list threads unread and archived. -- Thanks, John
Excerpts from Christer Edwards''s message of Wed Feb 23 10:45:41 -0500 2011:> Excerpts from Philippe LeCavalier''s message of 2011-02-23 07:25:57 -0700: > > What''s the syntax for searching multiple labels in one query? Or do I > > always have to search & refine? > > label:foo AND label:bar AND is:unread ...etc. > > ChristerI see. Based on some posts I thought that the ''-'',''+'' would effectively add or negate a term. -- Thanks, Phil