You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2020/07/09 04:58:00 UTC

[jira] [Commented] (SOLR-14638) Edismax boost function zero score

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

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

I browsed through the commits between 7.7.1 and 7.7.2 and the one that seems like it could be related is this: SOLR-13126

You might have to use \{{if(exists(field),field,0)}} or similar.

> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org