You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed in #28993, we want to specify the interval used in the aggregation so that clients don't have to dig into the buckets to infer the interval.
Here's an example
// Request
"sale_date" : {
"auto_date_histogram" : {
"field" : "timestamp"
}
}
// Response
"aggregations": {
"sale_date": {
// This is the field we will add
"interval": 1d,
"buckets": [{
"key_as_string": "2017-07-01T00:00:00.000Z",
"key": 1498867200000,
"doc_count": 124
}, {
The text was updated successfully, but these errors were encountered:
As discussed in #28993, we want to specify the interval used in the aggregation so that clients don't have to dig into the buckets to infer the interval.
Here's an example
The text was updated successfully, but these errors were encountered: