Re: Docs with any score are collected in the Collector implementations

2010-06-02 Thread Yonik Seeley
On Wed, Jun 2, 2010 at 1:10 PM, wrote: > that's probably because I move from lucene to solr. > > We will need to filter them from the result manually then first. Solr has a function range query that can filter out any values outside of the given range. http://www.lucidimagination.com/blog/2009/0

RE: Docs with any score are collected in the Collector implementations

2010-06-02 Thread Chris Hostetter
: that's probably because I move from lucene to solr. : : We will need to filter them from the result manually then first. Can you explain why? ... in particular, can you explain what types of queries you have that produce negative scores for matches, but where you don't want to see those matc

RE: Docs with any score are collected in the Collector implementations

2010-06-02 Thread jan.kurella
Ok, that's probably because I move from lucene to solr. We will need to filter them from the result manually then first. Jan - Ursprüngliche Mitteilung - > > : Thanks, have overseen this implementation. How to get solr configured > to > : use this wrapper collector? Or is this the wrong

RE: Docs with any score are collected in the Collector implementations

2010-06-02 Thread Chris Hostetter
: 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... correct ... Col

RE: Docs with any score are collected in the Collector implementations

2010-06-02 Thread jan.kurella
s not meant to configure the collectors >> at all without touching the code... >> >> Jan >> >> -Original Message- >> From: ext Michael McCandless [mailto:luc...@mikemccandless.com] >> Sent: Mittwoch, 2. Juni 2010 11:15 >> To:

Re: Docs with any score are collected in the Collector implementations

2010-06-02 Thread Simon Willnauer
thout touching the code... >> >> Jan >> >> -Original Message- >> From: ext Michael McCandless [mailto:luc...@mikemccandless.com] >> Sent: Mittwoch, 2. Juni 2010 11:15 >> To: java-user@lucene.apache.org >> Subject: Re: Docs with any score are col

Re: Docs with any score are collected in the Collector implementations

2010-06-02 Thread Michael McCandless
lectors at > all without touching the code... > > Jan > > -Original Message- > From: ext Michael McCandless [mailto:luc...@mikemccandless.com] > Sent: Mittwoch, 2. Juni 2010 11:15 > To: java-user@lucene.apache.org > Subject: Re: Docs with any score are c

RE: Docs with any score are collected in the Collector implementations

2010-06-02 Thread jan.kurella
- From: ext Michael McCandless [mailto:luc...@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, wrote

Re: Docs with any score are collected in the Collector implementations

2010-06-02 Thread Michael McCandless
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: InOrderTopScoreD