Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 71082 invoked from network); 2 Jun 2010 09:37:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Jun 2010 09:37:09 -0000 Received: (qmail 87226 invoked by uid 500); 2 Jun 2010 09:37:07 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 87195 invoked by uid 500); 2 Jun 2010 09:37:06 -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 87185 invoked by uid 99); 2 Jun 2010 09:37:06 -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:37:06 +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 [74.125.83.48] (HELO mail-gw0-f48.google.com) (74.125.83.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 09:37:00 +0000 Received: by gwaa18 with SMTP id a18so429230gwa.35 for ; Wed, 02 Jun 2010 02:36:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.141.16 with SMTP id o16mr7280356ybd.207.1275471396311; Wed, 02 Jun 2010 02:36:36 -0700 (PDT) Received: by 10.151.11.20 with HTTP; Wed, 2 Jun 2010 02:36:36 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 Jun 2010 05:36:36 -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 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Yeah might be the wrong mailing list :) Though there is alot of overlap... Solr's QueryComponent doesn't seem to allow specifying your own collector... and this issue is still open: https://issues.apache.org/jira/browse/SOLR-1680 I think we need to hear from a Solr guru (not me)! Mike On Wed, Jun 2, 2010 at 5:28 AM, wrote: > Thanks, have overseen this implementation. How to get solr configured to = use this wrapper collector? Or is this the wrong mailing list for this ques= tion? :) > > As far as I read the solr code it is not meant to configure the collector= s at all without touching the code... > > Jan > > -----Original Message----- > From: ext Michael McCandless [mailto:lucene@mikemccandless.com] > Sent: Mittwoch, 2. Juni 2010 11:15 > To: java-user@lucene.apache.org > Subject: Re: Docs with any score are collected in the Collector implement= ations > > Use PositiveScoresOnlyCollector. > > Mike > > On Wed, Jun 2, 2010 at 5:11 AM, =A0 wrote: >> Hi, >> >> Formerly the HitCollector stored only docs with score bigger than 0.0f. = This check is not implemented in any Collector implementation. Especially i= n the two implementation used by solr: InOrderTopScoreDocCollector and OutO= fOrderTopScoreDocCollector. >> >> 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org