{"action":"closed","issue":{"url":"https://api.github.com/repos/substance/archivist/issues/141","labels_url":"https://api.github.com/repos/substance/archivist/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/substance/archivist/issues/141/comments","events_url":"https://api.github.com/repos/substance/archivist/issues/141/events","html_url":"https://github.com/substance/archivist/issues/141","id":100561081,"number":141,"title":"Seed index strategy","user":{"login":"Integral","id":182010,"avatar_url":"https://avatars.githubusercontent.com/u/182010?v=3","gravatar_id":"","url":"https://api.github.com/users/Integral","html_url":"https://github.com/Integral","followers_url":"https://api.github.com/users/Integral/followers","following_url":"https://api.github.com/users/Integral/following{/other_user}","gists_url":"https://api.github.com/users/Integral/gists{/gist_id}","starred_url":"https://api.github.com/users/Integral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Integral/subscriptions","organizations_url":"https://api.github.com/users/Integral/orgs","repos_url":"https://api.github.com/users/Integral/repos","events_url":"https://api.github.com/users/Integral/events{/privacy}","received_events_url":"https://api.github.com/users/Integral/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-12T14:51:25Z","updated_at":"2015-08-19T17:19:09Z","closed_at":"2015-08-19T17:19:09Z","body":"With moving indexer to archivist we introduces number of problems.\r\nOne of them is seeding. \r\nWhen you run npm script which is using mongoose methods it just stops at that point. Without any errors...\r\nCurrently seed method attached to express api, so you call it using url /api/index/seed, but this is not good at all. Possible solution is to stay with json get queries as we did before, but only for initial seeding. This is stupid, but i can't see other way..."}}