Hi Rajesh,

I've been seeing the same problem you have. My debug scores seem to be what I 
expect, but the actual scores applied by Solr are sometimes divided by an 
integer.

I raised the same question in this email distribution about a week ago, but 
haven't yet found a solution. There's also a StackOverflow question I created 
here: 
http://stackoverflow.com/questions/35921106/how-and-why-do-solr-explain-values-differ-from-the-solr-score

Can you verify whether all of your affected scores are (1/N)*score? I think N 
seems to be the number of OR elements in the query. For example, your case 
below has 

   debug_score/score
= 1.2517526/0.41725087
= 3

Thanks,
-Rick

----------------------------------------
> From: r...@cebglobal.com
> To: solr-user@lucene.apache.org
> Subject: RE: Explain score is different from score
> Date: Fri, 18 Mar 2016 13:29:14 +0000
>
> Can someone help?
>
>
>
>
> Corporate Executive Board India Private Limited. Registration No: 
> U741040HR2004PTC035324. Registered office: 6th Floor, Tower B, DLF Building 
> No.10 DLF Cyber City, Gurgaon, Haryana-122002, India..
>
>
>
> This e-mail and/or its attachments are intended only for the use of the 
> addressee(s) and may contain confidential and legally privileged information 
> belonging to CEB and/or its subsidiaries, including CEB subsidiaries that 
> offer SHL Talent Measurement products and services. If you have received this 
> e-mail in error, please notify the sender and immediately, destroy all copies 
> of this email and its attachments. The publication, copying, in whole or in 
> part, or use or dissemination in any other way of this e-mail and attachments 
> by anyone other than the intended person(s) is prohibited.
>
>
> From: G, Rajesh
> Sent: Friday, March 18, 2016 12:56 PM
> To: solr-user@lucene.apache.org
> Subject: Explain score is different from score
>
> Mismatch in score displayed in debug and score field. Please refer attached 
> xml.
>
> When I search for title_ws:(Microsoft Ofice 365). If the results are 
> displayed by explain score order then we would have the expected result 
> “Microsoft Office 365” then “Lync - Microsoft Office 365”
>
> <result name="response" numFound="13617" start="0" maxScore="1.0952835">
> <doc>
> <str name="title">Lync - Microsoft Office 365</str>
> <str name="title_ws">Lync - Microsoft Office 365</str>
> <int name="id">1722669</int>
> <float name="score">1.0952835</float></doc> Score from explain 1.0952835
> <doc>
> <str name="title">Microsoft Office 365</str>
> <str name="title_ws">Microsoft Office 365</str>
> <int name="id">2043876</int>
> <float name="score">0.41725087</float></doc> Score from explain 1.2517526
> </result>
>
> Thanks
> Rajesh
                                          

Reply via email to