[
https://issues.apache.org/jira/browse/LUCENE-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669673#action_12669673
]
Yonik Seeley commented on LUCENE-1534:
--------------------------------------
Right.... and explain explains it by having 1 idf factor in the queryWeight and
1 in the fieldWeight:
{code}
0.6433005 = (MATCH) weight(text:solr in 14), product of:
0.99999994 = queryWeight(text:solr), product of:
3.6390574 = idf(docFreq=1, numDocs=26)
0.27479643 = queryNorm
0.64330053 = (MATCH) fieldWeight(text:solr in 14), product of:
1.4142135 = tf(termFreq(text:solr)=2)
3.6390574 = idf(docFreq=1, numDocs=26)
0.125 = fieldNorm(field=text, doc=14)
{code}
> idf(t) is not actually squared during scoring?
> ----------------------------------------------
>
> Key: LUCENE-1534
> URL: https://issues.apache.org/jira/browse/LUCENE-1534
> Project: Lucene - Java
> Issue Type: Bug
> Components: Query/Scoring
> Affects Versions: 2.1, 2.2, 2.3, 2.3.1, 2.3.2, 2.4
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Priority: Minor
> Fix For: 2.9
>
>
> The javadocs for Similarity:
>
> http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/search/Similarity.html
> show idf(t) as being squared when computing net query score. But I
> don't think it is actually squared, in looking at the sources? Maybe
> it used to be, eg this interesting discussion:
> http://markmail.org/message/k5pl7scmiac5wosb
> Or am I missing something? We just need to fix the javadocs to take
> away the "squared"...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]