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

David Smiley commented on SOLR-14638:
-------------------------------------

There might be a problem; I'm not sure.  The fix in SOLR-13126 makes sense to 
me though perhaps some other problem crept in.  It'd help if you could write a 
more specific bug report.  For example given some sample data or even better 
the "tech products" data in Solr, provide a query that demonstrates the issue.

> Edismax boost function zero score
> ---------------------------------
>
>                 Key: SOLR-14638
>                 URL: https://issues.apache.org/jira/browse/SOLR-14638
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 7.7.1, 7.7.2
>         Environment: I am using the [https://hub.docker.com/_/solr] image for 
> 7.7.1 and 7.7.2 versions without any major changes.
>            Reporter: Victor Zharikov
>            Priority: Critical
>
> I'm using edismax to boost a score. 
> Using the 'field(field_name)' function's boost, I multiply the points by the 
> value of this field.
> Its behavior without any patch notes became noticeably different between 
> 7.7.1 and 7.7.2.
> On version 7.7.1, the record for which the 'field_name' field is not filled 
> has regular score. And the record score with field_name = 2.0, for example, 
> is multiplied by two.
> On version 7.7.2, a record with the field 'field_name' not filled in has ZERO 
> score. And for the record with field_name = 2.0, the points are still 
> multiplied by two from the normal result.
> It completely breaks the score ranking.
> Example .
> Version 7.7.1
> no field_name "score": 32.586094
> field_name = 2.0 "score": 65.17219
> no field_name "score": 0.0
> field_name = 2.0 "score": 65.17219



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to