You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2016/05/04 15:18:13 UTC

[jira] [Commented] (SOLR-9066) Make CountMetric return long instead of double

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

Kevin Risden commented on SOLR-9066:
------------------------------------

[~joel.bernstein] [~dpgove] - Thoughts on this change?

> Make CountMetric return long instead of double
> ----------------------------------------------
>
>                 Key: SOLR-9066
>                 URL: https://issues.apache.org/jira/browse/SOLR-9066
>             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.



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