lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <jan.kure...@nokia.com>
Subject RE: Docs with any score are collected in the Collector implementations
Date Wed, 02 Jun 2010 09:28:13 GMT
Thanks, have overseen this implementation. How to get solr configured to use this wrapper collector?
Or is this the wrong mailing list for this question? :)

As far as I read the solr code it is not meant to configure the collectors 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 implementations

Use PositiveScoresOnlyCollector.

Mike

On Wed, Jun 2, 2010 at 5:11 AM,  <jan.kurella@nokia.com> 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

Mime
View raw message