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

Stefan Neumüller commented on SOLR-6562:
----------------------------------------

I'm using function queries to calculate dates. For example to add some hours to 
a date. And here I have problems with the precision. The result differs for 1-3 
minutes. It would be nice to allow solr to use double precision.

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to