{"action":"closed","issue":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9417","labels_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9417/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9417/comments","events_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9417/events","html_url":"https://github.com/elasticsearch/elasticsearch/issues/9417","id":55490708,"number":9417,"title":"Aggs: Add offset support to histograms","user":{"login":"jpountz","id":299848,"avatar_url":"https://avatars.githubusercontent.com/u/299848?v=3","gravatar_id":"","url":"https://api.github.com/users/jpountz","html_url":"https://github.com/jpountz","followers_url":"https://api.github.com/users/jpountz/followers","following_url":"https://api.github.com/users/jpountz/following{/other_user}","gists_url":"https://api.github.com/users/jpountz/gists{/gist_id}","starred_url":"https://api.github.com/users/jpountz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpountz/subscriptions","organizations_url":"https://api.github.com/users/jpountz/orgs","repos_url":"https://api.github.com/users/jpountz/repos","events_url":"https://api.github.com/users/jpountz/events{/privacy}","received_events_url":"https://api.github.com/users/jpountz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/:Aggs","name":":Aggs","color":"009800"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/v2.0.0","name":"v2.0.0","color":"dddddd"}],"state":"closed","locked":false,"assignee":{"login":"cbuescher","id":10398885,"avatar_url":"https://avatars.githubusercontent.com/u/10398885?v=3","gravatar_id":"","url":"https://api.github.com/users/cbuescher","html_url":"https://github.com/cbuescher","followers_url":"https://api.github.com/users/cbuescher/followers","following_url":"https://api.github.com/users/cbuescher/following{/other_user}","gists_url":"https://api.github.com/users/cbuescher/gists{/gist_id}","starred_url":"https://api.github.com/users/cbuescher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbuescher/subscriptions","organizations_url":"https://api.github.com/users/cbuescher/orgs","repos_url":"https://api.github.com/users/cbuescher/repos","events_url":"https://api.github.com/users/cbuescher/events{/privacy}","received_events_url":"https://api.github.com/users/cbuescher/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-01-26T14:52:30Z","updated_at":"2015-02-02T17:24:15Z","closed_at":"2015-02-02T17:24:15Z","body":"Having configurable offsets could be handy with histogram aggregations. Today when you create an histogram aggregation with an interval of X, you get buckets that have 0, X, 2*X, 3*X, ... as labels.\r\n\r\nThe point of this issue would be to also allow to configure an offset Y so that the generated buckets would be Y, X+Y, 2*X+Y, 3*X+Y, etc."}}