{"action":"created","issue":{"url":"https://api.github.com/repos/joindin/joindin-api/issues/193","labels_url":"https://api.github.com/repos/joindin/joindin-api/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/joindin/joindin-api/issues/193/comments","events_url":"https://api.github.com/repos/joindin/joindin-api/issues/193/events","html_url":"https://github.com/joindin/joindin-api/pull/193","id":88984808,"number":193,"title":"[WIP] Elasticsearch integration","user":{"login":"phoenixrises","id":65277,"avatar_url":"https://avatars.githubusercontent.com/u/65277?v=3","gravatar_id":"","url":"https://api.github.com/users/phoenixrises","html_url":"https://github.com/phoenixrises","followers_url":"https://api.github.com/users/phoenixrises/followers","following_url":"https://api.github.com/users/phoenixrises/following{/other_user}","gists_url":"https://api.github.com/users/phoenixrises/gists{/gist_id}","starred_url":"https://api.github.com/users/phoenixrises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phoenixrises/subscriptions","organizations_url":"https://api.github.com/users/phoenixrises/orgs","repos_url":"https://api.github.com/users/phoenixrises/repos","events_url":"https://api.github.com/users/phoenixrises/events{/privacy}","received_events_url":"https://api.github.com/users/phoenixrises/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-17T11:00:37Z","updated_at":"2015-06-20T14:07:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joindin/joindin-api/pulls/193","html_url":"https://github.com/joindin/joindin-api/pull/193","diff_url":"https://github.com/joindin/joindin-api/pull/193.diff","patch_url":"https://github.com/joindin/joindin-api/pull/193.patch"},"body":"This is the work in progress elasticsearch integration. There are still tests and documentation to write so that everything is nice, easy and most importantly that everybody can understand how the ES stuff works.\r\n\r\nI hope to be done with these soon, but my track record is against me here.\r\n\r\nAny issues, feel free to raise them here and I'll action them as soon possible."},"comment":{"url":"https://api.github.com/repos/joindin/joindin-api/issues/comments/113770985","html_url":"https://github.com/joindin/joindin-api/pull/193#issuecomment-113770985","issue_url":"https://api.github.com/repos/joindin/joindin-api/issues/193","id":113770985,"user":{"login":"phoenixrises","id":65277,"avatar_url":"https://avatars.githubusercontent.com/u/65277?v=3","gravatar_id":"","url":"https://api.github.com/users/phoenixrises","html_url":"https://github.com/phoenixrises","followers_url":"https://api.github.com/users/phoenixrises/followers","following_url":"https://api.github.com/users/phoenixrises/following{/other_user}","gists_url":"https://api.github.com/users/phoenixrises/gists{/gist_id}","starred_url":"https://api.github.com/users/phoenixrises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phoenixrises/subscriptions","organizations_url":"https://api.github.com/users/phoenixrises/orgs","repos_url":"https://api.github.com/users/phoenixrises/repos","events_url":"https://api.github.com/users/phoenixrises/events{/privacy}","received_events_url":"https://api.github.com/users/phoenixrises/received_events","type":"User","site_admin":false},"created_at":"2015-06-20T14:07:06Z","updated_at":"2015-06-20T14:07:06Z","body":"@magicmonkey First off, I don't think anybody is in a rush for this. It's an enhancement / replacement so in the end it's more of a nice to have when possible in my opinion.\r\n\r\nWith respect to search documents, you can see the setup of the index and it's various types and analysers in scripts/reindex-all.php which needs run in the first instance to populate existing data into ES.\r\n\r\nFrom there, there is already some code that tries to generate / update documents synchronously when events / talks are updated / added. However, some functionality is missing for doing adding and editing items in the API that is done on web1 currently (as far as I can tell), so there is a limited number of places to actually get the documents updating, but as things get implemented on web2 they'll need to be updated accordingly. I had considered using a cron instead, but after thought and some discussions in the IRC channel, it just didn't make sense.\r\n\r\nCheers!"}}