RE: Explain score is different from score

2016-03-23 Thread Rick Sullivan
R-8884 for this. > > aHmet > > On Tuesday, March 22, 2016 1:59 PM, Alessandro Benedetti > wrote: > > > > I got this problem re-ranking. > But in my short experience I was not able to reproduce nor fix the bug. > Can I ask you the query aprser used and all the compo

RE: Explain score is different from score

2016-03-21 Thread Rick Sullivan
On Mon, Mar 21, 2016 at 7:30 AM, G, Rajesh wrote: > >> Hi Ahmet, >> >> I am using solr 5.5.0. I am running single instance with single core. No >> shards >> >> I have added to my schema >> as suggested by Rick Sullivan. Now the scores are same between

RE: Solr debug 'explain' values differ from the Solr score

2016-03-20 Thread Rick Sullivan
with the field & > fieldType details for all of the fields used in your example? > > (i'm guessing it probably relates to your firstName_phonetic field?) > > > > : Date: Tue, 15 Mar 2016 13:17:04 -0700 > : From: Rick Sullivan > : Reply-To: solr-user@lucene.apache

RE: Explain score is different from score

2016-03-19 Thread Rick Sullivan
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 S

RE: Explain score is different from score

2016-03-19 Thread Rick Sullivan
be a bug I think. Do you guys use index time boosts? > > Ahmet > > > > On Friday, March 18, 2016 6:15 PM, Rick Sullivan > wrote: > Yes it seems to be something similar, but the normalization isn't applied to > all retrieved documents, which messes with the documen

RE: Explain score is different from score

2016-03-19 Thread Rick Sullivan
res from different queries (or even different indexes) comparable." > [1] > > [1] > https://lucene.apache.org/core/5_5_0/core/org/apache/lucene/search/similarities/TFIDFSimilarity.html > > Ahmet > > > On Friday, March 18, 2016 4:24 PM, Rick Sullivan > wrote: > Hi R

RE: Explain score is different from score

2016-03-19 Thread Rick Sullivan
Try adding the following to your schema just under the tag:   This seems to solve the problem for me. Well I at least haven't yet found any cases where I see the score discrepancy. Thanks, -Rick > From: r...@ricksullivan.net > To: solr-user@lucene.apac

RE: Solr debug 'explain' values differ from the Solr score

2016-03-15 Thread Rick Sullivan
After some digging and experimentation, here are some more details on the issue I'm seeing. 1. The adjusted documents' scores are always exactly (debug_score/N), where N is the number of OR items in the query. For example, `&q=firstName:gabby~ firstName_phonetic:gabby firstName_tokens:(gabby

Solr debug 'explain' values differ from the Solr score

2016-03-10 Thread Rick Sullivan
Hi, I'm seeing behavior in Solr 5.5.0 where the top-level values I see in the debug response don't always correspond with the scores Solr assigns to the matched documents. For example, here is the top-level debug information for two documents matched by a query: 114628: Objectdescription: "sum