[
https://issues.apache.org/jira/browse/SOLR-9813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Johnson updated SOLR-9813:
--------------------------------
Attachment: ScaleFloatFunction.java.patch
Proposed patch for issue
> Scale function returns NaN
> --------------------------
>
> Key: SOLR-9813
> URL: https://issues.apache.org/jira/browse/SOLR-9813
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: query parsers
> Affects Versions: 6.2.1
> Reporter: David Johnson
> Priority: Minor
> Attachments: ScaleFloatFunction.java.patch
>
>
> If the scale function is passed in NaN (scale(log(0),1,5), it will return
> NaN, rather than something within the scale.
> This should be detected and the minimum value returned instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]