You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Piotr Matusiak <Pi...@webcon.com.INVALID> on 2022/09/12 08:34:11 UTC
Unexpected behavior of ms() function
Hi, on solr version 8.11.1 I have found a strange behavior of ms() function. I have a date field (solr.DatePointField) AttDateTime1 with value 2022-09-09T00:00:00Z. Now when I use ms(AttDateTime1) I was expecting a long with number of milliseconds, but instead it returns a date 2022-09-09T00:00:00Z. Now when I use ms(2022-09-09T00:00:00Z) it returns long with milliseconds as expected.
I couldn’n find related issue on jira, so I’m writing here to ask if it is correct behavior, or I should report this as issue.
With regards,
Piotr