Hey folks,

we had some issues / test failure with the newSearcher due to the
initial value of TopDocs#maxScore. It is initialized to NaN which
outrules anything if we do Math.max(current, topDocs.getMaxScore());
and topDocs.totalHits == 0. I added a conditional  as a quickfix but I
think we should really change the default value to
Float.NEGATIVE_INFINITY instead to prevent the stupid conditionals. I
could imagine that there are some implications here which I don't see
yet. Thoughts?

simon

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to