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

Yonik Seeley commented on SOLR-12352:
-------------------------------------

bq. Solr's functions operate on floats - maybe this problem follows from that?

Yep.  IIRC there's a JIRA for adding types to value sources / functions (it's 
needed in quite a few places).

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

Reply via email to