Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 24262 invoked from network); 2 Dec 2009 23:57:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Dec 2009 23:57:44 -0000 Received: (qmail 49133 invoked by uid 500); 2 Dec 2009 23:57:42 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 49043 invoked by uid 500); 2 Dec 2009 23:57:42 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 49033 invoked by uid 99); 2 Dec 2009 23:57:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 23:57:42 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [76.13.13.92] (HELO smtp109.prem.mail.ac4.yahoo.com) (76.13.13.92) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 02 Dec 2009 23:57:34 +0000 Received: (qmail 28246 invoked from network); 2 Dec 2009 23:57:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=WzgrdjhUEx6cj2WUyppeg2OFWL95gUKFkPrJeZ9EUiQ6FMtjyp2xHZ28jS63LbolIWImbRZm8uPR0n4g3Gf4Vkj3lBscuq6N+6HPu0lDHfrG/GzK0t/Va/BTeQzfJLtLIYfxexfBfXz9XDeIXOexQM8fiZTfEgqHDdAZvKDBJik= ; Received: from pool-173-71-195-243.clppva.fios.verizon.net (jnylund@173.71.195.243 with plain) by smtp109.prem.mail.ac4.yahoo.com with SMTP; 02 Dec 2009 15:57:12 -0800 PST X-Yahoo-SMTP: Ebaa8FyswBC8u1DDnK63AtOGzUY- X-YMail-OSG: rSPQAJsVM1kdB37atsLuxmDZgp35I3oHPbwtXTUdzKtXv_HM5OuweBiOUJYiSziN1j8GN0IBhbjX4TYuFk_C.npsy81r5w2a62uj3kjIU1CEbmtWwYPq9M5VYChc31OLfCvHIDsxWawnSQ6h6at3ZUNqC7.EzelZ_LqK45OVjjEIvcYwIX3d4MBt5aIXzhwgdsiHetdMG2AhjEmZuUrgrNUPPURobPGYpan3IS0vZqQT_NADaRCZV0EoZlzdLcQ5NHtENuosVKJezTmPUspcP4rOvw-- X-Yahoo-Newman-Property: ymail-3 Message-Id: From: Joel Nylund To: solr-user@lucene.apache.org In-Reply-To: <220952.67775.qm@web52907.mail.re2.yahoo.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: NOT combined with OR is not getting exected results Date: Wed, 2 Dec 2009 18:57:09 -0500 References: <220952.67775.qm@web52907.mail.re2.yahoo.com> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org thanks that worked! and yes I have some with no categoryType thanks Joel On Dec 2, 2009, at 2:24 PM, AHMET ARSLAN wrote: >> Hi, thanks, but still get 530 results >> for this new query your proposed. > > > May be you have some documents that has empty categoryType field. > Can you try this: > q = ((*:* -categoryType:"MEDIATYPE") OR fmMediaType:"text") > > It should return at lest 292289 documents. > > >