{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/36019","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/36019/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/36019/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/36019/events","html_url":"https://github.com/elastic/elasticsearch/pull/36019","id":385438915,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NDA5OTk0","number":36019,"title":"Cache the score of the parent document in the nested agg","user":{"login":"jimczi","id":15977469,"node_id":"MDQ6VXNlcjE1OTc3NDY5","avatar_url":"https://avatars0.githubusercontent.com/u/15977469?v=4","gravatar_id":"","url":"https://api.github.com/users/jimczi","html_url":"https://github.com/jimczi","followers_url":"https://api.github.com/users/jimczi/followers","following_url":"https://api.github.com/users/jimczi/following{/other_user}","gists_url":"https://api.github.com/users/jimczi/gists{/gist_id}","starred_url":"https://api.github.com/users/jimczi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimczi/subscriptions","organizations_url":"https://api.github.com/users/jimczi/orgs","repos_url":"https://api.github.com/users/jimczi/repos","events_url":"https://api.github.com/users/jimczi/events{/privacy}","received_events_url":"https://api.github.com/users/jimczi/received_events","type":"User","site_admin":false},"labels":[{"id":141141324,"node_id":"MDU6TGFiZWwxNDExNDEzMjQ=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Analytics/Aggregations","name":":Analytics/Aggregations","color":"0e8a16","default":false},{"id":23173,"node_id":"MDU6TGFiZWwyMzE3Mw==","url":"https://api.github.com/repos/elastic/elasticsearch/labels/%3Ebug","name":">bug","color":"b60205","default":false},{"id":1102494662,"node_id":"MDU6TGFiZWwxMTAyNDk0NjYy","url":"https://api.github.com/repos/elastic/elasticsearch/labels/v6.6.0","name":"v6.6.0","color":"dddddd","default":false},{"id":484855464,"node_id":"MDU6TGFiZWw0ODQ4NTU0NjQ=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/v7.0.0","name":"v7.0.0","color":"dddddd","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-28T20:15:09Z","updated_at":"2018-11-28T20:15:11Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/36019","html_url":"https://github.com/elastic/elasticsearch/pull/36019","diff_url":"https://github.com/elastic/elasticsearch/pull/36019.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/36019.patch"},"body":"The nested agg can defer the collection of children if it is nested\r\nunder another aggregation. In such case accessing the score in the children\r\naggregation throws an error because the scorer has already advanced to the next\r\nparent. This change fixes this error by caching the score of the parent in the\r\nnested aggregation. Children aggregations that work on nested documents will be\r\nable to access the _score. Also note that the _score in this case is always the\r\nparent's score, there is no way to retrieve the score of a nested docs in aggregations.\r\n\r\nCloses #35985\r\nCloses #34555"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/442589143","html_url":"https://github.com/elastic/elasticsearch/pull/36019#issuecomment-442589143","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/36019","id":442589143,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjU4OTE0Mw==","user":{"login":"elasticmachine","id":15837671,"node_id":"MDQ6VXNlcjE1ODM3Njcx","avatar_url":"https://avatars3.githubusercontent.com/u/15837671?v=4","gravatar_id":"","url":"https://api.github.com/users/elasticmachine","html_url":"https://github.com/elasticmachine","followers_url":"https://api.github.com/users/elasticmachine/followers","following_url":"https://api.github.com/users/elasticmachine/following{/other_user}","gists_url":"https://api.github.com/users/elasticmachine/gists{/gist_id}","starred_url":"https://api.github.com/users/elasticmachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elasticmachine/subscriptions","organizations_url":"https://api.github.com/users/elasticmachine/orgs","repos_url":"https://api.github.com/users/elasticmachine/repos","events_url":"https://api.github.com/users/elasticmachine/events{/privacy}","received_events_url":"https://api.github.com/users/elasticmachine/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T20:15:11Z","updated_at":"2018-11-28T20:15:11Z","author_association":"NONE","body":"Pinging @elastic/es-analytics-geo"}}
{"actor":{"display_login":"elasticmachine"}}