[ 
https://issues.apache.org/jira/browse/SOLR-17757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17956271#comment-17956271
 ] 

parveen saini commented on SOLR-17757:
--------------------------------------

Thanks for the update.

I am using TFIDFSimilarity as part of classic similarity for historical 
reasons. 

Attaching the snapshot from solr 5.5.4 and 9.12.1 showing that idf is factored 
in twice for final query weight in version 5.5.4.

!image-2025-06-04-23-42-47-309.png|width=351,height=195!!image-2025-06-04-23-42-47-382.png|width=358,height=201!

> TFIDFSimilarity scoring difference between version 5.5.4 and 8.9.0
> ------------------------------------------------------------------
>
>                 Key: SOLR-17757
>                 URL: https://issues.apache.org/jira/browse/SOLR-17757
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>            Reporter: parveen saini
>            Priority: Critical
>              Labels: TFIDF, similarity
>         Attachments: image-2025-06-04-23-42-47-309.png, 
> image-2025-06-04-23-42-47-382.png
>
>
> On migrating solr version from 5.5.4 to 8.9.0 I noticed that TFIDFSimilarity 
> scoring is different and results in different overall score for the query.
> On digging deeper I found idf is factored twice in version 5.5.4 which is 
> causing the issue. Is the change in version 8.9.0 intentional?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to