lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Willnauer <simon.willna...@googlemail.com>
Subject Re: initial value of TopDocs#maxScore
Date Thu, 03 Feb 2011 15:52:42 GMT
I think we should even go one step further and make NaN an illegal
value for maxScore. I think we should add an assert in the setter and
the ctor. Objections?

On Thu, Feb 3, 2011 at 4:19 PM, Yonik Seeley <yonik@lucidimagination.com> wrote:
> On Thu, Feb 3, 2011 at 10:12 AM, Michael McCandless
> <lucene@mikemccandless.com> wrote:
>> I think Float.NEG_INF is good?
>
> Yeah, I'm pretty sure that's what it was for much of the past.
>
> -Yonik
> http://lucidimagination.com
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message