{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/9996","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/9996/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/9996/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/9996/events","html_url":"https://github.com/elastic/elasticsearch/pull/9996","id":59957797,"number":9996,"title":"Aggregations: Added Factory for all MultiBucketAggregations to implement","user":{"login":"colings86","id":236731,"avatar_url":"https://avatars.githubusercontent.com/u/236731?v=3","gravatar_id":"","url":"https://api.github.com/users/colings86","html_url":"https://github.com/colings86","followers_url":"https://api.github.com/users/colings86/followers","following_url":"https://api.github.com/users/colings86/following{/other_user}","gists_url":"https://api.github.com/users/colings86/gists{/gist_id}","starred_url":"https://api.github.com/users/colings86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colings86/subscriptions","organizations_url":"https://api.github.com/users/colings86/orgs","repos_url":"https://api.github.com/users/colings86/repos","events_url":"https://api.github.com/users/colings86/events{/privacy}","received_events_url":"https://api.github.com/users/colings86/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Aggs","name":":Aggs","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/enhancement","name":"enhancement","color":"4a4ea8"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/review","name":"review","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"colings86","id":236731,"avatar_url":"https://avatars.githubusercontent.com/u/236731?v=3","gravatar_id":"","url":"https://api.github.com/users/colings86","html_url":"https://github.com/colings86","followers_url":"https://api.github.com/users/colings86/followers","following_url":"https://api.github.com/users/colings86/following{/other_user}","gists_url":"https://api.github.com/users/colings86/gists{/gist_id}","starred_url":"https://api.github.com/users/colings86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colings86/subscriptions","organizations_url":"https://api.github.com/users/colings86/orgs","repos_url":"https://api.github.com/users/colings86/repos","events_url":"https://api.github.com/users/colings86/events{/privacy}","received_events_url":"https://api.github.com/users/colings86/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-03-05T14:22:19Z","updated_at":"2015-03-17T18:18:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/9996","html_url":"https://github.com/elastic/elasticsearch/pull/9996","diff_url":"https://github.com/elastic/elasticsearch/pull/9996.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/9996.patch"},"body":"This allows things like reducers to add aggregations to buckets without needing to know how to construct the aggregation or bucket itself."},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/82508397","html_url":"https://github.com/elastic/elasticsearch/pull/9996#issuecomment-82508397","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/9996","id":82508397,"user":{"login":"colings86","id":236731,"avatar_url":"https://avatars.githubusercontent.com/u/236731?v=3","gravatar_id":"","url":"https://api.github.com/users/colings86","html_url":"https://github.com/colings86","followers_url":"https://api.github.com/users/colings86/followers","following_url":"https://api.github.com/users/colings86/following{/other_user}","gists_url":"https://api.github.com/users/colings86/gists{/gist_id}","starred_url":"https://api.github.com/users/colings86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colings86/subscriptions","organizations_url":"https://api.github.com/users/colings86/orgs","repos_url":"https://api.github.com/users/colings86/repos","events_url":"https://api.github.com/users/colings86/events{/privacy}","received_events_url":"https://api.github.com/users/colings86/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T18:18:25Z","updated_at":"2015-03-17T18:18:25Z","body":"@jpountz I have pushed a commit which moves the factory methods into the Aggregation classes"}}