[
https://issues.apache.org/jira/browse/SOLR-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Noble Paul reassigned SOLR-1246:
--------------------------------
Assignee: Noble Paul
> 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.