You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by kaveh minooie <ka...@plutoz.com> on 2013/01/16 00:14:32 UTC

from 1.4 to 3.6

HI
  I hope this doesn't turn out to be a very stupid question. I have 
upgraded from solr 1.4 to 3.6 and now in the response that I am getting 
from solr maxScore field in the [response] is missing. I am doing 
something wrong? how can I get it back?

thanks,
-- 
Kaveh Minooie

www.plutoz.com

Re: from 1.4 to 3.6

Posted by Shawn Heisey <so...@elyograg.org>.
On 1/15/2013 4:14 PM, kaveh minooie wrote:
> HI
>   I hope this doesn't turn out to be a very stupid question. I have
> upgraded from solr 1.4 to 3.6 and now in the response that I am getting
> from solr maxScore field in the [response] is missing. I am doing
> something wrong? how can I get it back?

Just add the special "score" field to the fl parameter (field list).  If 
you don't have the fl parameter at all, use fl=score,* to get it.  If 
you aren't displaying the score, then it won't give you maxScore.

Thanks,
Shawn