You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shawn Heisey (JIRA)" <ji...@apache.org> on 2018/05/14 20:25:00 UTC

[jira] [Updated] (SOLR-12352) Solr mod function query does not yield correct results

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

Shawn Heisey updated SOLR-12352:
--------------------------------
    Description: 
It seems mod operation in function query is not working correctly for large numbers.

{noformat}
"_version_": 1600463487761383425,
"ms(NOW)": 1526324140364,
"mod(_version_,ms(NOW))": 1280437520000
{noformat}
 
However, mod(1600463487761383425,1526324140364) is 1204927482853.
 

  was:
It seems mod operation in function query is not working correctly for large numbers.
"_version_": 1600463487761383425,
"ms(NOW)": 1526324140364,
"mod(_version_,ms(NOW))": 1280437520000
 
However, mod(1600463487761383425,1526324140364) is 1204927482853.
 


> Solr mod function query does not yield correct results
> ------------------------------------------------------
>
>                 Key: SOLR-12352
>                 URL: https://issues.apache.org/jira/browse/SOLR-12352
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 7.3
>            Reporter: gnandre
>            Priority: Minor
>
> It seems mod operation in function query is not working correctly for large numbers.
> {noformat}
> "_version_": 1600463487761383425,
> "ms(NOW)": 1526324140364,
> "mod(_version_,ms(NOW))": 1280437520000
> {noformat}
>  
> However, mod(1600463487761383425,1526324140364) is 1204927482853.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org