I see that when there are 0 results with the grouping enabled, the max
score is -Infinity which causes parsing problems on my client. Without
grouping enabled the max score is 0.0. Is there any particular reason
for this difference? If not, would there be any resistance to
submitting a patch that will set the score to 0 if the numFound is 0
in the grouping component? I see code that sets the max score to
-Infinity and then will set it to a different value when iterating
over some set of scores. With 0 scores, then it stays as -Infinity and
serializes out as such.

I'll be more than happy to work on this patch but before I do, I
wanted to check that I am not missing something first.

Thanks
Amit

Reply via email to