{"action":"closed","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/3729","labels_url":"https://api.github.com/repos/elastic/kibana/issues/3729/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/3729/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/3729/events","html_url":"https://github.com/elastic/kibana/issues/3729","id":72489916,"number":3729,"title":"allow children aggregation in kibana","user":{"login":"pwli","id":11463084,"avatar_url":"https://avatars.githubusercontent.com/u/11463084?v=3","gravatar_id":"","url":"https://api.github.com/users/pwli","html_url":"https://github.com/pwli","followers_url":"https://api.github.com/users/pwli/followers","following_url":"https://api.github.com/users/pwli/following{/other_user}","gists_url":"https://api.github.com/users/pwli/gists{/gist_id}","starred_url":"https://api.github.com/users/pwli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwli/subscriptions","organizations_url":"https://api.github.com/users/pwli/orgs","repos_url":"https://api.github.com/users/pwli/repos","events_url":"https://api.github.com/users/pwli/events{/privacy}","received_events_url":"https://api.github.com/users/pwli/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-01T18:22:23Z","updated_at":"2015-05-01T18:22:57Z","closed_at":"2015-05-01T18:22:57Z","body":"Related to Issue #1084. But more specific :-)\r\n\r\nI would like to see an aggregate option \"child documents\"\r\n(after date histogram, histogram, etc.) that opens up the\r\nparameters for a query DSL for children aggregate, like\r\n\"child type\", \"fields\", etc.\r\n\r\nThis will allow one to create nested aggregates on child\r\ndocuments.\r\n\r\nI don't seem to be able to create such a query using\r\nthe advanced editing feature. May be someone can\r\nenlighten me.\r\n\r\nThanks"}}