[ https://issues.apache.org/jira/browse/SOLR-10258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Munendra S N resolved SOLR-10258. --------------------------------- Resolution: Fixed Fix Version/s: 7.1 > Facet functions emit date fields as ticks > ----------------------------------------- > > Key: SOLR-10258 > URL: https://issues.apache.org/jira/browse/SOLR-10258 > Project: Solr > Issue Type: Bug > Components: Facet Module > Affects Versions: 5.5.2 > Reporter: Chris Eldredge > Priority: Minor > Fix For: 7.1 > > > When invoking a facet function in the JSON Facet API, TrieDateField is > coerced into a numeric value and the result of the function is emitted as > numeric instead of being converted back into a formatted date. > Example: > curl > http://localhost:8983/solr/query?q=*:*&json.facet={most_recent:'max(modified)'} > Produces (in part): > "facets":{ > "count":38304, > "most_recent":1.489012400831E12}} > The "most_recent" attribute would be more useful if it was converted back to > an iso8601 formatted date. > There was a thread discussing this issue in 2016: > http://lucene.472066.n3.nabble.com/min-max-on-date-fields-using-JSON-facets-td4288736.html#a4288781 -- 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