diff options
Diffstat (limited to 'script')
-rwxr-xr-x | script/restart-solr | 12 | ||||
-rwxr-xr-x | script/update-solr-index | 7 |
2 files changed, 19 insertions, 0 deletions
diff --git a/script/restart-solr b/script/restart-solr new file mode 100755 index 000000000..bf7b9194d --- /dev/null +++ b/script/restart-solr @@ -0,0 +1,12 @@ +#!/bin/bash + +# Stops and restarts the Solr (Lucene) search engine daemon. Redirects it +# to log. + +cd `dirname $0` +cd .. +rake solr:stop +nohup rake solr:start >log/solr.log 2>log/solr.err.log + + + diff --git a/script/update-solr-index b/script/update-solr-index new file mode 100755 index 000000000..33415aa9c --- /dev/null +++ b/script/update-solr-index @@ -0,0 +1,7 @@ +#!/bin/bash + +LOC=`dirname $0` + +$LOC/runner 'InfoRequest.update_solr_index()' + + |