{"action":"created","issue":{"url":"https://api.github.com/repos/geoadmin/mf-chsdi3/issues/1096","labels_url":"https://api.github.com/repos/geoadmin/mf-chsdi3/issues/1096/labels{/name}","comments_url":"https://api.github.com/repos/geoadmin/mf-chsdi3/issues/1096/comments","events_url":"https://api.github.com/repos/geoadmin/mf-chsdi3/issues/1096/events","html_url":"https://github.com/geoadmin/mf-chsdi3/pull/1096","id":47150894,"number":1096,"title":"Add bulk tests to check presense of sphinxsearch indices","user":{"login":"gjn","id":2572317,"avatar_url":"https://avatars.githubusercontent.com/u/2572317?v=3","gravatar_id":"","url":"https://api.github.com/users/gjn","html_url":"https://github.com/gjn","followers_url":"https://api.github.com/users/gjn/followers","following_url":"https://api.github.com/users/gjn/following{/other_user}","gists_url":"https://api.github.com/users/gjn/gists{/gist_id}","starred_url":"https://api.github.com/users/gjn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjn/subscriptions","organizations_url":"https://api.github.com/users/gjn/orgs","repos_url":"https://api.github.com/users/gjn/repos","events_url":"https://api.github.com/users/gjn/events{/privacy}","received_events_url":"https://api.github.com/users/gjn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cedricmoullet","id":319676,"avatar_url":"https://avatars.githubusercontent.com/u/319676?v=3","gravatar_id":"","url":"https://api.github.com/users/cedricmoullet","html_url":"https://github.com/cedricmoullet","followers_url":"https://api.github.com/users/cedricmoullet/followers","following_url":"https://api.github.com/users/cedricmoullet/following{/other_user}","gists_url":"https://api.github.com/users/cedricmoullet/gists{/gist_id}","starred_url":"https://api.github.com/users/cedricmoullet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedricmoullet/subscriptions","organizations_url":"https://api.github.com/users/cedricmoullet/orgs","repos_url":"https://api.github.com/users/cedricmoullet/repos","events_url":"https://api.github.com/users/cedricmoullet/events{/privacy}","received_events_url":"https://api.github.com/users/cedricmoullet/received_events","type":"User","site_admin":false},"milestone":null,"comments":43,"created_at":"2014-10-29T13:57:49Z","updated_at":"2015-09-18T06:47:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/geoadmin/mf-chsdi3/pulls/1096","html_url":"https://github.com/geoadmin/mf-chsdi3/pull/1096","diff_url":"https://github.com/geoadmin/mf-chsdi3/pull/1096.diff","patch_url":"https://github.com/geoadmin/mf-chsdi3/pull/1096.patch"},"body":"This PR adds a test that checks the presense of sphinxsearch indices as they should be present as defined in the db. It was made in order to avoid having a situation where we have layers released that need indices to be present.\r\n\r\nIf the layer has the attribute `selectbyrectangle` set to true, a featureidentify request should be possible\r\n\r\nIf the layer has the attribute `searchable` set to true, a featuresearch request should be possible\r\n\r\nNote:\r\nWhile writing this PR, I noticed that we already have a mismatch between db definitions and physical presense of indices. More in comments."},"comment":{"url":"https://api.github.com/repos/geoadmin/mf-chsdi3/issues/comments/141362308","html_url":"https://github.com/geoadmin/mf-chsdi3/pull/1096#issuecomment-141362308","issue_url":"https://api.github.com/repos/geoadmin/mf-chsdi3/issues/1096","id":141362308,"user":{"login":"gjn","id":2572317,"avatar_url":"https://avatars.githubusercontent.com/u/2572317?v=3","gravatar_id":"","url":"https://api.github.com/users/gjn","html_url":"https://github.com/gjn","followers_url":"https://api.github.com/users/gjn/followers","following_url":"https://api.github.com/users/gjn/following{/other_user}","gists_url":"https://api.github.com/users/gjn/gists{/gist_id}","starred_url":"https://api.github.com/users/gjn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjn/subscriptions","organizations_url":"https://api.github.com/users/gjn/orgs","repos_url":"https://api.github.com/users/gjn/repos","events_url":"https://api.github.com/users/gjn/events{/privacy}","received_events_url":"https://api.github.com/users/gjn/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T06:47:15Z","updated_at":"2015-09-18T06:47:15Z","body":"searchable false should do it. Thanks alot for doing it and deploying to dev :)"}}