[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] searches



On 6 August 2010 00:25, Gregor Hoffleit <gregor@hoffleit.de> wrote:
> I fell into these traps as well (there was a thread in this list two
> months ago, search for this message: 1276181871-sup-2536@zyrg.net).
>
> I started to rewrite the page SearchingMail in the Wiki:
> http://sup.rubyforge.org/wiki/wiki.pl?SearchingMail
>
> The information on that page should be correct, but certainly is not
> complete. Neither is it easy to grok.
>
> As a start, the basic query language is described in
> http://xapian.org/docs/queryparser.html.
>
>
> Some stumbling points about searching in Sup:
>
> - By default, query terms are combined with AND
> - Exception: Query terms within the same field type are combined as OR
>
> I.e. a search for "label:ruby-talk subject:\[ANN\]" (without the
> quotes!) is equivalent to "label:ruby-talk AND subject:\[ANN\]".
>
> In contrast, the search "subject:apples subject:oranges" is equivalent
> to "subject:apples OR subject:oranges"!

Ok, thanks for the information.

How do I search for all messages not containing a label? I tried:

not label:mylabel
! label:mylabel
~label:mylabel
-label:mylabel

The first finds no results. The rest are the same as "label:mylabel".

What am I doing wrong here?

What do the above searchs really do?
-- 
Brian May <brian@microcomaustralia.com.au>
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk