Maxime Darçot created SOLR-10313:
------------------------------------
Summary: 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
Security Level: Public (Default Security Level. Issues are Public)
Components: faceting
Reporter: Maxime Darçot
Priority: Minor
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
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]