lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject Re: initial value of TopDocs#maxScore
Date Thu, 03 Feb 2011 16:05:45 GMT
On Thu, Feb 3, 2011 at 10:52 AM, Simon Willnauer
<> wrote:
> 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?

If we don't initialize w/ NaN, maxScore will never be set to NaN, right?
And if someone want's to explicitly call setMaxScore(NaN) for some
reason... might as well let them?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message