[
https://issues.apache.org/jira/browse/SOLR-6562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Neumüller updated SOLR-6562:
-----------------------------------
Comment: was deleted
(was: I found a way to add hours to a date without a too big precision loss. I
use ms to subtract a "negative" date with the correct amount of hours. For
example if I want to add 4 hours to mydate I write:
ms(mydate,1969-12-31T20:00:00.000Z).)
> Function query calculates the wrong value
> -----------------------------------------
>
> Key: SOLR-6562
> URL: https://issues.apache.org/jira/browse/SOLR-6562
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.9
> Reporter: Stefan Neumüller
> Priority: Critical
>
> This calculation
> fl=sub(sum(abs(sub(1416906516710,1416783600000)),abs(sub(103680000000000,1416906516710))),102263216400000)
> should return 0. But the calculated value is 8388608
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]