{"action":"created","issue":{"url":"https://api.github.com/repos/mysociety/planningalerts-app/issues/185","labels_url":"https://api.github.com/repos/mysociety/planningalerts-app/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/mysociety/planningalerts-app/issues/185/comments","events_url":"https://api.github.com/repos/mysociety/planningalerts-app/issues/185/events","html_url":"https://github.com/mysociety/planningalerts-app/pull/185","id":54192603,"number":185,"title":"Issues/181 better sphinx config","user":{"login":"lizconlan","id":27760,"avatar_url":"https://avatars.githubusercontent.com/u/27760?v=3","gravatar_id":"","url":"https://api.github.com/users/lizconlan","html_url":"https://github.com/lizconlan","followers_url":"https://api.github.com/users/lizconlan/followers","following_url":"https://api.github.com/users/lizconlan/following{/other_user}","gists_url":"https://api.github.com/users/lizconlan/gists{/gist_id}","starred_url":"https://api.github.com/users/lizconlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizconlan/subscriptions","organizations_url":"https://api.github.com/users/lizconlan/orgs","repos_url":"https://api.github.com/users/lizconlan/repos","events_url":"https://api.github.com/users/lizconlan/events{/privacy}","received_events_url":"https://api.github.com/users/lizconlan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-13T13:18:24Z","updated_at":"2015-06-11T13:22:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mysociety/planningalerts-app/pulls/185","html_url":"https://github.com/mysociety/planningalerts-app/pull/185","diff_url":"https://github.com/mysociety/planningalerts-app/pull/185.diff","patch_url":"https://github.com/mysociety/planningalerts-app/pull/185.patch"},"body":"Bit of WIP but jumping the gun for easier internal discussions...\r\n\r\nTowards trying to run a single `searchd` instance per server rather than having to wrangle one per app.\r\n\r\nOpen to the idea of squashing the 3 'Override rake task ...' commits"},"comment":{"url":"https://api.github.com/repos/mysociety/planningalerts-app/issues/comments/111134016","html_url":"https://github.com/mysociety/planningalerts-app/pull/185#issuecomment-111134016","issue_url":"https://api.github.com/repos/mysociety/planningalerts-app/issues/185","id":111134016,"user":{"login":"stevenday","id":663700,"avatar_url":"https://avatars.githubusercontent.com/u/663700?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenday","html_url":"https://github.com/stevenday","followers_url":"https://api.github.com/users/stevenday/followers","following_url":"https://api.github.com/users/stevenday/following{/other_user}","gists_url":"https://api.github.com/users/stevenday/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenday/subscriptions","organizations_url":"https://api.github.com/users/stevenday/orgs","repos_url":"https://api.github.com/users/stevenday/repos","events_url":"https://api.github.com/users/stevenday/events{/privacy}","received_events_url":"https://api.github.com/users/stevenday/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T13:22:50Z","updated_at":"2015-06-11T13:22:50Z","body":"I've been talking to ian about implementing the other side of this, which is to run a single sphinx daemon through puppet, and make sure it picks up all of the individual config files and combines them into one (turns out, sphinx's config can start with a shebang, and then it'll execute it and process the output!). \r\n\r\nIn doing so, I wondered whether all this hijacking of thinking sphinx is worth it, or whether we should just create the config via mysociety's ugly files instead? They'd have access to all the right info, and the meat of the config (the SQL query) should be the same throughout (or it could be setup different in some if statements if needed). \r\n\r\nThe only thing we'd need to do is remember to always run `ts:index` with the flag that says \"don't generate the config again\".\r\n\r\nCan you see any obvious flaws @lizconlan?"}}