Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 67110 invoked from network); 2 Jun 2010 09:15:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Jun 2010 09:15:53 -0000 Received: (qmail 68134 invoked by uid 500); 2 Jun 2010 09:15:51 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 68099 invoked by uid 500); 2 Jun 2010 09:15:51 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 68091 invoked by uid 99); 2 Jun 2010 09:15:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 09:15:50 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.176] (HELO mail-gy0-f176.google.com) (209.85.160.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 09:15:44 +0000 Received: by gyf1 with SMTP id 1so5524685gyf.35 for ; Wed, 02 Jun 2010 02:15:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.250.5 with SMTP id x5mr8160529ybh.295.1275470122739; Wed, 02 Jun 2010 02:15:22 -0700 (PDT) Received: by 10.151.11.20 with HTTP; Wed, 2 Jun 2010 02:15:22 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 Jun 2010 05:15:22 -0400 Message-ID: Subject: Re: Docs with any score are collected in the Collector implementations From: Michael McCandless To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Use PositiveScoresOnlyCollector. Mike On Wed, Jun 2, 2010 at 5:11 AM, wrote: > Hi, > > Formerly the HitCollector stored only docs with score bigger than 0.0f. This check is not implemented in any Collector implementation. Especially in the two implementation used by solr: InOrderTopScoreDocCollector and OutOfOrderTopScoreDocCollector. > > How to not collect documents with a score less or equal to 0.0f? > > Jan > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org