lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1246) StatsComponent returing Double.MIN_VALUE when determining maximum value for negativ numbers
Date Thu, 25 Jun 2009 09:53:07 GMT

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

Noble Paul commented on SOLR-1246:
----------------------------------

hi Rafal, go ahead and submit a patch

> StatsComponent returing Double.MIN_VALUE when determining maximum value for negativ numbers
> -------------------------------------------------------------------------------------------
>
>                 Key: SOLR-1246
>                 URL: https://issues.apache.org/jira/browse/SOLR-1246
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Rafał Kuć
>            Assignee: Noble Paul
>            Priority: Minor
>
> StatsComponent use Double.MIN_VALUE when reseting its variables. Because of that, when
calculating maximum value for negativ numbers max value will always return Double.MIN_VALUE
because it is minimal positive value. Setting max value to Double.NEGATIV_INFINITY in reset
method will resolve the problem. I can provide simple patch for this if needed. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message