: Yeah, I've noticed this two in some distrib search tests (it's not 
: SolrCloud related per say I think, but just distrib search in general).

I'm pretty sure that the crux of the issue is that maxScore is only 
*returned* if scores are requested.

When you do a single node request, you have to include "score" in your 
"fl" param for scores to be returned, and if scores are reutrned, then 
"maxScore" will be returned.

When you do a cloud based request, sorting on score (ie: the default) then 
under the covers scores have to be returned to the collecting node by the 
individual shard nodes anyway (in order to merge them) so the maxScore 
comes along for free -- but if, for example, you sort on something other 
then score, i'm pretty sure you again wouldn't get the "maxScore" in the 
response unless you included "score" in the "fl"

...i could be wrong, but that's my recollection.


-Hoss

Reply via email to