{"action":"created","issue":{"url":"https://api.github.com/repos/ox-it/moxie/issues/88","labels_url":"https://api.github.com/repos/ox-it/moxie/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/ox-it/moxie/issues/88/comments","events_url":"https://api.github.com/repos/ox-it/moxie/issues/88/events","html_url":"https://github.com/ox-it/moxie/issues/88","id":57485027,"number":88,"title":"Update places importer task to use SolrCloud","user":{"login":"martinfilliau","id":21462,"avatar_url":"https://avatars.githubusercontent.com/u/21462?v=3","gravatar_id":"","url":"https://api.github.com/users/martinfilliau","html_url":"https://github.com/martinfilliau","followers_url":"https://api.github.com/users/martinfilliau/followers","following_url":"https://api.github.com/users/martinfilliau/following{/other_user}","gists_url":"https://api.github.com/users/martinfilliau/gists{/gist_id}","starred_url":"https://api.github.com/users/martinfilliau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinfilliau/subscriptions","organizations_url":"https://api.github.com/users/martinfilliau/orgs","repos_url":"https://api.github.com/users/martinfilliau/repos","events_url":"https://api.github.com/users/martinfilliau/events{/privacy}","received_events_url":"https://api.github.com/users/martinfilliau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ox-it/moxie/labels/Places","name":"Places","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-12T16:41:13Z","updated_at":"2015-02-12T16:41:36Z","closed_at":null,"body":"See https://github.com/ox-it/moxie/blob/master/moxie/places/tasks.py#L62-L78\r\n\r\nWe currently use the `SWAP` cores feature of Solr to switch two cores, one where the importers write data and when everything is fine, then switching cores with the one used to \"read\" data -- that way we are sure that the index is always consistent and there is no downtime.\r\n\r\nThe `SWAP` command is not directly available with SolrCloud.\r\n\r\nThe [Collections API](https://cwiki.apache.org/confluence/display/solr/Collections+API) provides `aliases` which could be used to reproduce such functionality.\r\n\r\nThis is a blocker before moving moxie places to use Solr Cloud.\r\n"},"comment":{"url":"https://api.github.com/repos/ox-it/moxie/issues/comments/74104393","html_url":"https://github.com/ox-it/moxie/issues/88#issuecomment-74104393","issue_url":"https://api.github.com/repos/ox-it/moxie/issues/88","id":74104393,"user":{"login":"martinfilliau","id":21462,"avatar_url":"https://avatars.githubusercontent.com/u/21462?v=3","gravatar_id":"","url":"https://api.github.com/users/martinfilliau","html_url":"https://github.com/martinfilliau","followers_url":"https://api.github.com/users/martinfilliau/followers","following_url":"https://api.github.com/users/martinfilliau/following{/other_user}","gists_url":"https://api.github.com/users/martinfilliau/gists{/gist_id}","starred_url":"https://api.github.com/users/martinfilliau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinfilliau/subscriptions","organizations_url":"https://api.github.com/users/martinfilliau/orgs","repos_url":"https://api.github.com/users/martinfilliau/repos","events_url":"https://api.github.com/users/martinfilliau/events{/privacy}","received_events_url":"https://api.github.com/users/martinfilliau/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T16:41:36Z","updated_at":"2015-02-12T16:41:36Z","body":"Something for @ahaith and @drewhemm to look at..."}}