{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/11948","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/11948/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/11948/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/11948/events","html_url":"https://github.com/elastic/elasticsearch/pull/11948","id":92110655,"number":11948,"title":"Aggregations: Adds other bucket to filters aggregation","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/:Aggregations","name":":Aggregations","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/feature","name":"feature","color":"328a58"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/review","name":"review","color":"0052cc"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v2.0.0","name":"v2.0.0","color":"dddddd"}],"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":7,"created_at":"2015-06-30T14:33:30Z","updated_at":"2015-07-01T09:27:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/11948","html_url":"https://github.com/elastic/elasticsearch/pull/11948","diff_url":"https://github.com/elastic/elasticsearch/pull/11948.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/11948.patch"},"body":"The filters aggregation now has an option to add an 'other' bucket which will, when turned on, contain all documents which do not match any of the defined filters. There is also an option to change the name of the 'other' bucket from the default of '_other_'\r\n\r\nCloses #11289"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/117560543","html_url":"https://github.com/elastic/elasticsearch/pull/11948#issuecomment-117560543","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/11948","id":117560543,"user":{"login":"clintongormley","id":56599,"avatar_url":"https://avatars.githubusercontent.com/u/56599?v=3","gravatar_id":"","url":"https://api.github.com/users/clintongormley","html_url":"https://github.com/clintongormley","followers_url":"https://api.github.com/users/clintongormley/followers","following_url":"https://api.github.com/users/clintongormley/following{/other_user}","gists_url":"https://api.github.com/users/clintongormley/gists{/gist_id}","starred_url":"https://api.github.com/users/clintongormley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clintongormley/subscriptions","organizations_url":"https://api.github.com/users/clintongormley/orgs","repos_url":"https://api.github.com/users/clintongormley/repos","events_url":"https://api.github.com/users/clintongormley/events{/privacy}","received_events_url":"https://api.github.com/users/clintongormley/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T09:27:13Z","updated_at":"2015-07-01T09:27:13Z","body":"> anonymous filters (non-keyed response) you would be forced to name something which is then never shown to you\r\n\r\nah ok - missed that bit.  hmm I think Perl's the only one that would have issues (but they are not insurmountable).  The `other_bucket` and `other_bucket_key` option is more verbose but cleaner. Practically, most people would never need to change the name... I'm leaning towards having the two options."}}