You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Johnson (JIRA)" <ji...@apache.org> on 2016/11/29 23:41:58 UTC

[jira] [Created] (SOLR-9813) Scale function returns NaN

David Johnson created SOLR-9813:
-----------------------------------

             Summary: 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


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