elastic/elasticsearch

Add from(inclusive) and to(exclusive) endpoints to histogram bucket results

Open

#28,479 opened on Feb 1, 2018

View on GitHub
 (9 comments) (0 reactions) (0 assignees)Java (25,882 forks)batch import
:Analytics/Aggregations>featureTeam:Analyticshelp wanted

Repository metrics

Stars
 (76,700 stars)
PR merge metrics
 (Avg merge 2d) (1,000 merged PRs in 30d)

Description

Follow-up to a discuss issue: https://discuss.elastic.co/t/to-get-end-date-of-week-in-date-histogram/116591/2

Displaying the value range that each histogram bar maps to can be problematic for the last bar of the histogram, since the histogram doesn't give the key that the next bucket would have. Is it something we should look into adding to the response?

Contributor guide