queries such as
{ 
  "aggs": {
    "max_startTime": {
      "max": {
        "field": "startDate"
      }
    },
    "min_startTime": {
      "min": {
        "field": "startDate"
      }
    }
  }
}

return s140834239392... instead of nicely formatted date.
The field is maked as date type.
Am I using the query wrong? is there a way to 'cast' the data to date?

thanks

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/f5555dc5-1ca9-4140-b828-770389f38691%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to