[ https://issues.apache.org/jira/browse/SOLR-10313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Munendra S N resolved SOLR-10313. --------------------------------- Resolution: Fixed Fix Version/s: 7.1 > Facet aggregation functions on date fields return numbers > --------------------------------------------------------- > > Key: SOLR-10313 > URL: https://issues.apache.org/jira/browse/SOLR-10313 > Project: Solr > Issue Type: Bug > Components: faceting > Reporter: Maxime Darçot > Priority: Minor > Fix For: 7.1 > > > When you use the JSON faceting API and you want to use aggregate functions on > date fields, you get numbers instead. > e.g. > {quote} > json.facet= { > "test": {"type": "query", "q": "\*:\*", "facet": {"first": "min(date)", > "last": "max(date)"}} > } > {quote} > Where _date_ has a date type, you'll get > bq. {"count":15, "first":1.361525185E12, "last":1.387552939E12} > It'd be nice to get the results in a standard TZ format. > Someone already described this issue here: > http://lucene.472066.n3.nabble.com/min-max-on-date-fields-using-JSON-facets-td4288736.html > But I haven't found any JIRA ticket linked to this problem. -- 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