Ah, your fieldNorm is different. Are you sure firstname_search has exactly the 
same value and more important, length? I cannot seem to remember an issue that 
encodes norms differently between 3.x and 4.x but i'm likely wrong ;)
 
-----Original message-----
> From:roySolr <royrutten1...@gmail.com>
> Sent: Tue 22-Jan-2013 16:11
> To: solr-user@lucene.apache.org
> Subject: Re: Scoring differences solr versions
> 
> Hello Shawn,
> 
> Thanks for the help:
> 
> Indented format:
> 
> *SOLR4*
> 
> <str name="1697058">
> 3.3243241 = (MATCH) sum of:
>   0.20717455 = (MATCH) max plus 1.0 times others of:
>     0.19920631 = (MATCH) weight(firstname_search:g^50.0 in 783453)
> [DefaultSimilarity], result of:
>       0.19920631 = score(doc=783453,freq=1.0 = termFreq=1.0
> ), product of:
>         0.11625154 = queryWeight, product of:
>           50.0 = boost
>           3.4271598 = idf(docFreq=195811, maxDocs=2217897)
>           6.784133E-4 = queryNorm
>         1.7135799 = fieldWeight in 783453, product of:
>           1.0 = tf(freq=1.0), with freq of:
>             1.0 = termFreq=1.0
>           3.4271598 = idf(docFreq=195811, maxDocs=2217897)
>           0.5 = fieldNorm(doc=783453)
>     0.007968252 = (MATCH) weight(name_first_letter:g in 783453)
> [DefaultSimilarity], result of:
>       0.007968252 = score(doc=783453,freq=1.0 = termFreq=1.0
> ), product of:
>         0.0023250307 = queryWeight, product of:
>           3.4271598 = idf(docFreq=195811, maxDocs=2217897)
>           6.784133E-4 = queryNorm
>         3.4271598 = fieldWeight in 783453, product of:
>           1.0 = tf(freq=1.0), with freq of:
>             1.0 = termFreq=1.0
>           3.4271598 = idf(docFreq=195811, maxDocs=2217897)
>           1.0 = fieldNorm(doc=783453)
>   3.1171496 = (MATCH) max plus 1.0 times others of:
>     3.1171496 = (MATCH) weight(lastname_search:aalbers^50.0 in 783453)
> [DefaultSimilarity], result of:
>       3.1171496 = score(doc=783453,freq=1.0 = termFreq=1.0
> ), product of:
>         0.3251704 = queryWeight, product of:
>           50.0 = boost
>           9.586204 = idf(docFreq=413, maxDocs=2217897)
>           6.784133E-4 = queryNorm
>         9.586204 = fieldWeight in 783453, product of:
>           1.0 = tf(freq=1.0), with freq of:
>             1.0 = termFreq=1.0
>           9.586204 = idf(docFreq=413, maxDocs=2217897)
>           1.0 = fieldNorm(doc=783453)
> </str>
> 
> 
> *SOLR 3.1*
> 
> <str name="1697058">
> 3.3741257 = (MATCH) sum of:
>   0.25697616 = (MATCH) max plus 1.0 times others of:
>     0.2490079 = (MATCH) weight(firstname_search:g^50.0 in 1697008), product
> of:
>       0.11625154 = queryWeight(firstname_search:g^50.0), product of:
>         50.0 = boost
>         3.4271598 = idf(docFreq=195811, maxDocs=2217897)
>         6.784133E-4 = queryNorm
>       2.141975 = (MATCH) fieldWeight(firstname_search:g in 1697008), product
> of:
>         1.0 = tf(termFreq(firstname_search:g)=1)
>         3.4271598 = idf(docFreq=195811, maxDocs=2217897)
>         0.625 = fieldNorm(field=firstname_search, doc=1697008)
>     0.007968252 = (MATCH) weight(name_first_letter:g in 1697008), product
> of:
>       0.0023250307 = queryWeight(name_first_letter:g), product of:
>         3.4271598 = idf(docFreq=195811, maxDocs=2217897)
>         6.784133E-4 = queryNorm
>       3.4271598 = (MATCH) fieldWeight(name_first_letter:g in 1697008),
> product of:
>         1.0 = tf(termFreq(name_first_letter:g)=1)
>         3.4271598 = idf(docFreq=195811, maxDocs=2217897)
>         1.0 = fieldNorm(field=name_first_letter, doc=1697008)
>   3.1171496 = (MATCH) max plus 1.0 times others of:
>     3.1171496 = (MATCH) weight(lastname_search:aalbers^50.0 in 1697008),
> product of:
>       0.3251704 = queryWeight(lastname_search:aalbers^50.0), product of:
>         50.0 = boost
>         9.586204 = idf(docFreq=413, maxDocs=2217897)
>         6.784133E-4 = queryNorm
>       9.586204 = (MATCH) fieldWeight(lastname_search:aalbers in 1697008),
> product of:
>         1.0 = tf(termFreq(lastname_search:aalbers)=1)
>         9.586204 = idf(docFreq=413, maxDocs=2217897)
>         1.0 = fieldNorm(field=lastname_search, doc=1697008)
> </str>
> 
> 
> Why scores this doc higher in solr 3.1?
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Scoring-differences-solr-versions-tp4035106p4035334.html
> Sent from the Solr - User mailing list archive at Nabble.com.
> 

Reply via email to