{"action":"created","issue":{"url":"https://api.github.com/repos/hydroshare/hydroshare/issues/792","labels_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/792/labels{/name}","comments_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/792/comments","events_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/792/events","html_url":"https://github.com/hydroshare/hydroshare/pull/792","id":121756651,"number":792,"title":"789 non interactive solr","user":{"login":"mjstealey","id":5332509,"avatar_url":"https://avatars.githubusercontent.com/u/5332509?v=3","gravatar_id":"","url":"https://api.github.com/users/mjstealey","html_url":"https://github.com/mjstealey","followers_url":"https://api.github.com/users/mjstealey/followers","following_url":"https://api.github.com/users/mjstealey/following{/other_user}","gists_url":"https://api.github.com/users/mjstealey/gists{/gist_id}","starred_url":"https://api.github.com/users/mjstealey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjstealey/subscriptions","organizations_url":"https://api.github.com/users/mjstealey/orgs","repos_url":"https://api.github.com/users/mjstealey/repos","events_url":"https://api.github.com/users/mjstealey/events{/privacy}","received_events_url":"https://api.github.com/users/mjstealey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hydroshare/hydroshare/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-11T17:35:22Z","updated_at":"2015-12-11T20:23:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hydroshare/hydroshare/pulls/792","html_url":"https://github.com/hydroshare/hydroshare/pull/792","diff_url":"https://github.com/hydroshare/hydroshare/pull/792.diff","patch_url":"https://github.com/hydroshare/hydroshare/pull/792.patch"},"body":"Add non-interactive SOLR functionality and remove admin from public view. The code requires that the function **expect** exists on the host it is being run from.\r\n\r\n- [x] use expect script to automate rebuild_index call from hsctl\r\n- [x] use curl over internal container to RELOAD solr index (no public port)\r\n- [x] rebuild / RELOAD / rebuild triggered on:\r\n    - new deploy using `./hsctl rebuild --db`\r\n    - updated deploy using `./hsctl rebuild`\r\n    - loading a new db using `./hsctl loaddb`"},"comment":{"url":"https://api.github.com/repos/hydroshare/hydroshare/issues/comments/164039422","html_url":"https://github.com/hydroshare/hydroshare/pull/792#issuecomment-164039422","issue_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/792","id":164039422,"user":{"login":"hyi","id":476302,"avatar_url":"https://avatars.githubusercontent.com/u/476302?v=3","gravatar_id":"","url":"https://api.github.com/users/hyi","html_url":"https://github.com/hyi","followers_url":"https://api.github.com/users/hyi/followers","following_url":"https://api.github.com/users/hyi/following{/other_user}","gists_url":"https://api.github.com/users/hyi/gists{/gist_id}","starred_url":"https://api.github.com/users/hyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyi/subscriptions","organizations_url":"https://api.github.com/users/hyi/orgs","repos_url":"https://api.github.com/users/hyi/repos","events_url":"https://api.github.com/users/hyi/events{/privacy}","received_events_url":"https://api.github.com/users/hyi/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T20:23:31Z","updated_at":"2015-12-11T20:23:31Z","body":"@mjstealey While trying it in my local dev env, somehow I got the error \"rebuild-index-solr: /usr/bin/expect: bad interpreter: No such file or directory\" at the end of output from \"hsctl rebuild --db\" Tried a couple of times, got the same error, and solr index is not built, so cannot get search result. Not sure what I am missing, but have not got time to investigate yet. Perhaps we can spend some time on Monday morning next week to get it sorted out. "}}