From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.204.155.88 with SMTP id r24cs2105bkw; Sun, 8 Aug 2010 23:00:43 -0700 (PDT) Received: by 10.229.232.14 with SMTP id js14mr6955086qcb.191.1281333642274; Sun, 08 Aug 2010 23:00:42 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 7si8250808qca.75.2010.08.08.23.00.41; Sun, 08 Aug 2010 23:00:42 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 369861678319; Mon, 9 Aug 2010 02:00:41 -0400 (EDT) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by rubyforge.org (Postfix) with ESMTP id 26E681858366 for ; Mon, 9 Aug 2010 01:59:17 -0400 (EDT) Received: by wwd20 with SMTP id 20so1787720wwd.23 for ; Sun, 08 Aug 2010 22:59:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.179.137 with SMTP id h9mr7416407wem.39.1281333556473; Sun, 08 Aug 2010 22:59:16 -0700 (PDT) Received: by 10.216.50.13 with HTTP; Sun, 8 Aug 2010 22:59:16 -0700 (PDT) In-Reply-To: <1281018239-sup-4803@sam.mediasupervision.de> References: <1281016089-sup-4418@guava.lanl.gov> <1281018239-sup-4803@sam.mediasupervision.de> Date: Mon, 9 Aug 2010 15:59:16 +1000 Message-ID: From: Brian May To: Gregor Hoffleit Cc: sup-talk Subject: Re: [sup-talk] searches X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org On 6 August 2010 00:25, Gregor Hoffleit 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 _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk