diff options
author | francis <francis> | 2008-04-29 16:45:55 +0000 |
---|---|---|
committer | francis <francis> | 2008-04-29 16:45:55 +0000 |
commit | 1a508db9c8fd00897aae36b1db3ed3f01e7ec189 (patch) | |
tree | e6e2b01ddf916416aa0e1fe80101d8632f0c7147 /script/rebuild-solr-index | |
parent | f085b73bb806c922c6a69b7b5a0f6241f3de5ae1 (diff) |
Remove solr scripts
Diffstat (limited to 'script/rebuild-solr-index')
-rwxr-xr-x | script/rebuild-solr-index | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/script/rebuild-solr-index b/script/rebuild-solr-index deleted file mode 100755 index 5d21b999b..000000000 --- a/script/rebuild-solr-index +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -# Reindex everything in Solr, not just changed things - -LOC=`dirname $0` - -# Info requests are updated incrementally by update-solr-index, so first set -# them all to not up to date, then rebuild. -$LOC/runner "ActiveRecord::Base.connection.execute(\"update info_requests set solr_up_to_date = 'f'\")" -$LOC/runner 'InfoRequest.update_solr_index()' - -# These are updated in real time when the model is changed - so they aren't -# called in update-solr-index. So for this rebuild script, just rebuild them. -$LOC/runner 'PublicBody.rebuild_solr_index()' -$LOC/runner 'User.rebuild_solr_index()' - |