October 2019
Beginner
186 pages
5h 39m
English
This aggregation is based on ranges of date values. It takes Date Math expressions as values of from and to. The following example takes the range from 10 months ago to 10 months from now:
"ranges": [ {"to": "now-10M/M" }, {"from": "now-10M/M" }]
The missing parameter neglects those documents that do not contain a value. To include these documents, set the parameter to true. Time zones can be modified in the time_zone parameter to fit according to the user's needs. The keyed flag set to true will return a string key with each bucket.
Read now
Unlock full access