{"action":"created","issue":{"url":"https://api.github.com/repos/ankane/searchkick/issues/1134","repository_url":"https://api.github.com/repos/ankane/searchkick","labels_url":"https://api.github.com/repos/ankane/searchkick/issues/1134/labels{/name}","comments_url":"https://api.github.com/repos/ankane/searchkick/issues/1134/comments","events_url":"https://api.github.com/repos/ankane/searchkick/issues/1134/events","html_url":"https://github.com/ankane/searchkick/pull/1134","id":319697301,"number":1134,"title":"Avoid loading the Records in memory in async mode","user":{"login":"fidalgo","id":22743,"avatar_url":"https://avatars1.githubusercontent.com/u/22743?v=4","gravatar_id":"","url":"https://api.github.com/users/fidalgo","html_url":"https://github.com/fidalgo","followers_url":"https://api.github.com/users/fidalgo/followers","following_url":"https://api.github.com/users/fidalgo/following{/other_user}","gists_url":"https://api.github.com/users/fidalgo/gists{/gist_id}","starred_url":"https://api.github.com/users/fidalgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidalgo/subscriptions","organizations_url":"https://api.github.com/users/fidalgo/orgs","repos_url":"https://api.github.com/users/fidalgo/repos","events_url":"https://api.github.com/users/fidalgo/events{/privacy}","received_events_url":"https://api.github.com/users/fidalgo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-02T20:18:48Z","updated_at":"2018-05-12T20:09:52Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ankane/searchkick/pulls/1134","html_url":"https://github.com/ankane/searchkick/pull/1134","diff_url":"https://github.com/ankane/searchkick/pull/1134.diff","patch_url":"https://github.com/ankane/searchkick/pull/1134.patch"},"body":"Since in async mode we only need the IDs for the job, we can avoid to\r\nload the database records.\r\n\r\nWe'll only loaded when and if we need need them."},"comment":{"url":"https://api.github.com/repos/ankane/searchkick/issues/comments/388579834","html_url":"https://github.com/ankane/searchkick/pull/1134#issuecomment-388579834","issue_url":"https://api.github.com/repos/ankane/searchkick/issues/1134","id":388579834,"user":{"login":"ankane","id":220358,"avatar_url":"https://avatars3.githubusercontent.com/u/220358?v=4","gravatar_id":"","url":"https://api.github.com/users/ankane","html_url":"https://github.com/ankane","followers_url":"https://api.github.com/users/ankane/followers","following_url":"https://api.github.com/users/ankane/following{/other_user}","gists_url":"https://api.github.com/users/ankane/gists{/gist_id}","starred_url":"https://api.github.com/users/ankane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankane/subscriptions","organizations_url":"https://api.github.com/users/ankane/orgs","repos_url":"https://api.github.com/users/ankane/repos","events_url":"https://api.github.com/users/ankane/events{/privacy}","received_events_url":"https://api.github.com/users/ankane/received_events","type":"User","site_admin":false},"created_at":"2018-05-12T20:09:52Z","updated_at":"2018-05-12T20:09:52Z","author_association":"OWNER","body":"Hey @fidalgo, as far as I can tell, the combination of `async: true` and `batch: true` is never used with `import_scope`. Please let me know if I'm missing something."}}
{"actor":{"display_login":"ankane"}}