Reformatted excerpts from Rich Lane's message of 2009-07-24:
> > Plus, nor '!label:inbox' or '-label:inbox' work for me. From an
> > inspection of the code, it doesn't look to me as random negated
> > labels are being parsed.
> > 
> > Any hints?
> 
> You need to specify a non-negated term in the query.  "type:mail
> -label:inbox" should work.

This is a typical restriction for inverted index-based search engines.
You need to have at least one positive term or the computation is too
expensive (it would have to iterate over every term ever seen.) It's
true of Ferret, Google, etc.
-- 
William <[email protected]>
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to