You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Tomás Fernández Löbbe (JIRA)" <ji...@apache.org> on 2016/02/10 22:39:18 UTC
[jira] [Updated] (SOLR-8671) Date statistics: make "sum" a double
instead of a long/date
[ https://issues.apache.org/jira/browse/SOLR-8671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomás Fernández Löbbe updated SOLR-8671:
----------------------------------------
Fix Version/s: master
> Date statistics: make "sum" a double instead of a long/date
> -----------------------------------------------------------
>
> Key: SOLR-8671
> URL: https://issues.apache.org/jira/browse/SOLR-8671
> Project: Solr
> Issue Type: Improvement
> Reporter: Tomás Fernández Löbbe
> Fix For: master
>
>
> Currently {{DateStatsValues#sum}} is defined as long, and returned as a date. This has two problems: It overflows (with ~6 million values), and the return value can be a date like {{<date name="sum">122366-06-12T21:06:06Z</date>}}. I think we should just change this stat to a double. See SOLR-8420.
> I think we can change this only in master, since it will break backward compatibility.
--
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