You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Gene Sawyer (JIRA)" <ji...@apache.org> on 2015/05/21 20:38:18 UTC

[jira] [Closed] (SOLR-7581) Function 'sub' can return invalid date subtraction due to long/float conversion and precision loss

     [ https://issues.apache.org/jira/browse/SOLR-7581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gene Sawyer closed SOLR-7581.
-----------------------------
    Resolution: Invalid

Based on response, modifying date subtraction to use ms in lieu of sub

> Function 'sub' can return invalid date subtraction due to long/float conversion and precision loss
> --------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-7581
>                 URL: https://issues.apache.org/jira/browse/SOLR-7581
>             Project: Solr
>          Issue Type: Bug
>          Components: SearchComponents - other
>    Affects Versions: 5.1
>         Environment: Linux-x64
>            Reporter: Gene Sawyer
>            Priority: Minor
>         Attachments: functionquery_subtraction_bug.png
>
>
> Use of Function 'sub' to determine millis difference between two TrieDateFields returns invalid value.  The determined value appears to be the same, regardless of the true delta in the TrieDates



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