{"action":"created","issue":{"url":"https://api.github.com/repos/olivere/elastic/issues/929","repository_url":"https://api.github.com/repos/olivere/elastic","labels_url":"https://api.github.com/repos/olivere/elastic/issues/929/labels{/name}","comments_url":"https://api.github.com/repos/olivere/elastic/issues/929/comments","events_url":"https://api.github.com/repos/olivere/elastic/issues/929/events","html_url":"https://github.com/olivere/elastic/pull/929","id":367768797,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxMTAwNTgw","number":929,"title":"Add SearchService.MaxResponseSize() to guard against OOM situations","user":{"login":"erikgrinaker","id":644420,"node_id":"MDQ6VXNlcjY0NDQyMA==","avatar_url":"https://avatars2.githubusercontent.com/u/644420?v=4","gravatar_id":"","url":"https://api.github.com/users/erikgrinaker","html_url":"https://github.com/erikgrinaker","followers_url":"https://api.github.com/users/erikgrinaker/followers","following_url":"https://api.github.com/users/erikgrinaker/following{/other_user}","gists_url":"https://api.github.com/users/erikgrinaker/gists{/gist_id}","starred_url":"https://api.github.com/users/erikgrinaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikgrinaker/subscriptions","organizations_url":"https://api.github.com/users/erikgrinaker/orgs","repos_url":"https://api.github.com/users/erikgrinaker/repos","events_url":"https://api.github.com/users/erikgrinaker/events{/privacy}","received_events_url":"https://api.github.com/users/erikgrinaker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"olivere","id":134848,"node_id":"MDQ6VXNlcjEzNDg0OA==","avatar_url":"https://avatars2.githubusercontent.com/u/134848?v=4","gravatar_id":"","url":"https://api.github.com/users/olivere","html_url":"https://github.com/olivere","followers_url":"https://api.github.com/users/olivere/followers","following_url":"https://api.github.com/users/olivere/following{/other_user}","gists_url":"https://api.github.com/users/olivere/gists{/gist_id}","starred_url":"https://api.github.com/users/olivere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivere/subscriptions","organizations_url":"https://api.github.com/users/olivere/orgs","repos_url":"https://api.github.com/users/olivere/repos","events_url":"https://api.github.com/users/olivere/events{/privacy}","received_events_url":"https://api.github.com/users/olivere/received_events","type":"User","site_admin":false},"assignees":[{"login":"olivere","id":134848,"node_id":"MDQ6VXNlcjEzNDg0OA==","avatar_url":"https://avatars2.githubusercontent.com/u/134848?v=4","gravatar_id":"","url":"https://api.github.com/users/olivere","html_url":"https://github.com/olivere","followers_url":"https://api.github.com/users/olivere/followers","following_url":"https://api.github.com/users/olivere/following{/other_user}","gists_url":"https://api.github.com/users/olivere/gists{/gist_id}","starred_url":"https://api.github.com/users/olivere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivere/subscriptions","organizations_url":"https://api.github.com/users/olivere/orgs","repos_url":"https://api.github.com/users/olivere/repos","events_url":"https://api.github.com/users/olivere/events{/privacy}","received_events_url":"https://api.github.com/users/olivere/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/olivere/elastic/milestones/19","html_url":"https://github.com/olivere/elastic/milestone/19","labels_url":"https://api.github.com/repos/olivere/elastic/milestones/19/labels","id":3717839,"node_id":"MDk6TWlsZXN0b25lMzcxNzgzOQ==","number":19,"title":"6.2.10","description":"","creator":{"login":"olivere","id":134848,"node_id":"MDQ6VXNlcjEzNDg0OA==","avatar_url":"https://avatars2.githubusercontent.com/u/134848?v=4","gravatar_id":"","url":"https://api.github.com/users/olivere","html_url":"https://github.com/olivere","followers_url":"https://api.github.com/users/olivere/followers","following_url":"https://api.github.com/users/olivere/following{/other_user}","gists_url":"https://api.github.com/users/olivere/gists{/gist_id}","starred_url":"https://api.github.com/users/olivere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivere/subscriptions","organizations_url":"https://api.github.com/users/olivere/orgs","repos_url":"https://api.github.com/users/olivere/repos","events_url":"https://api.github.com/users/olivere/events{/privacy}","received_events_url":"https://api.github.com/users/olivere/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2018-10-07T17:19:04Z","updated_at":"2018-10-11T17:17:09Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2018-10-08T12:34:38Z","updated_at":"2018-10-11T17:35:15Z","closed_at":"2018-10-11T17:17:09Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/olivere/elastic/pulls/929","html_url":"https://github.com/olivere/elastic/pull/929","diff_url":"https://github.com/olivere/elastic/pull/929.diff","patch_url":"https://github.com/olivere/elastic/pull/929.patch"},"body":"`elastic` currently decodes the entire ES response uncritically, which can cause out-of-memory errors with very large responses. This adds a `MaxResponseSize()` method to `SearchService` which causes it to error out with `ErrResponseSize` if the ES response exceeds the provided limit."},"comment":{"url":"https://api.github.com/repos/olivere/elastic/issues/comments/429048275","html_url":"https://github.com/olivere/elastic/pull/929#issuecomment-429048275","issue_url":"https://api.github.com/repos/olivere/elastic/issues/929","id":429048275,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTA0ODI3NQ==","user":{"login":"olivere","id":134848,"node_id":"MDQ6VXNlcjEzNDg0OA==","avatar_url":"https://avatars2.githubusercontent.com/u/134848?v=4","gravatar_id":"","url":"https://api.github.com/users/olivere","html_url":"https://github.com/olivere","followers_url":"https://api.github.com/users/olivere/followers","following_url":"https://api.github.com/users/olivere/following{/other_user}","gists_url":"https://api.github.com/users/olivere/gists{/gist_id}","starred_url":"https://api.github.com/users/olivere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivere/subscriptions","organizations_url":"https://api.github.com/users/olivere/orgs","repos_url":"https://api.github.com/users/olivere/repos","events_url":"https://api.github.com/users/olivere/events{/privacy}","received_events_url":"https://api.github.com/users/olivere/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T17:35:15Z","updated_at":"2018-10-11T17:35:15Z","author_association":"OWNER","body":"Interesting. Thanks for the feedback.\r\n\r\nJust merged the PR. Will be available in 6.2.11, probably released over the weekend."}}
{"actor":{"display_login":"olivere"}}