I think this is https://issues.apache.org/jira/browse/SOLR-16361 which is already being worked on, and should be fixed in there next release. I don’t think we have a workaround currently.
Mike On Wed, Aug 31, 2022 at 4:07 PM gnandre <arnoldbron...@gmail.com> wrote: > mod function is not returning correct values when applied to ms(NOW) or > _version_ fields. > > "_version_":1697770046865014784, "ms(NOW)":1661979881038, > "mod(ms(NOW),10)": > 0.0, "mod(_version_,10)":6.0 > > It should return 8 and 4 respectively. Am I missing something? >