[ https://issues.apache.org/jira/browse/SOLR-1368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744814#action_12744814 ]
Yonik Seeley commented on SOLR-1368: ------------------------------------ bq. if it's legal to call ms on a rounded date (ie: NOW/SECOND) then why shouldn't it be legal to use a trie field with coarse precision? It should (and I do have plans for that in the future). What I meant by that is the newer trie based fields are the only ones you can get milliseconds from (regardless of precision) as opposed to a date string. It's not practical to convert date strings to milliseconds/seconds on the fly from the fieldcache. Perhaps we should throw an exception rather than silently using ord for those string-date fields though? > ms() function for date math > --------------------------- > > Key: SOLR-1368 > URL: https://issues.apache.org/jira/browse/SOLR-1368 > Project: Solr > Issue Type: New Feature > Reporter: Yonik Seeley > Assignee: Yonik Seeley > Fix For: 1.4 > > Attachments: SOLR-1368.patch > > > ms (milliseconds) function to use dates in function queries -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.