lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Risden (JIRA)" <>
Subject [jira] [Updated] (SOLR-9066) Make CountMetric return long instead of double
Date Wed, 04 May 2016 15:18:13 GMT


Kevin Risden updated SOLR-9066:
    Attachment: SOLR-9066.patch

This cleans up a few other items related to Metrics as well.
* getValue returns Number instead of double
* Removes serializable.
* Removes unnecessary boxing

Tests pass locally for me for*

> Make CountMetric return long instead of double
> ----------------------------------------------
>                 Key: SOLR-9066
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 6.0, master
>            Reporter: Kevin Risden
>         Attachments: SOLR-9066.patch
> CountMetric currently is forced to return a double when it should return a long. This
causes issues with SQL integration. The Metric abstract class getValue() should be a Number
and not a double. A few minor changes must be made to the other *Metric classes to support

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message