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

Victor Zharikov commented on SOLR-14638:
----------------------------------------

[~dsmiley] I'll try this. Thanks. So this is the expected behaviour for 7.7.2+ 
versions?

> Edismax boost function zero score
> ---------------------------------
>
>                 Key: SOLR-14638
>                 URL: https://issues.apache.org/jira/browse/SOLR-14638
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    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