aboutsummaryrefslogtreecommitdiffstats
path: root/script/update-solr-index
diff options
context:
space:
mode:
authorfrancis <francis>2008-03-13 11:29:46 +0000
committerfrancis <francis>2008-03-13 11:29:46 +0000
commitd1481d19f0313d8dc5cf99ee0a02b648d313b813 (patch)
treece4cc8a9e256bb3b5d234a97f3606091f5b085c3 /script/update-solr-index
parent8c34e9bbcf78cb7711bf9803fcdcb70beded83b7 (diff)
Order search results
Diffstat (limited to 'script/update-solr-index')
-rwxr-xr-xscript/update-solr-index6
1 files changed, 6 insertions, 0 deletions
diff --git a/script/update-solr-index b/script/update-solr-index
index 33415aa9c..75e4304eb 100755
--- a/script/update-solr-index
+++ b/script/update-solr-index
@@ -2,6 +2,12 @@
LOC=`dirname $0`
+# Info request (and hence incoming and outgoing message) indexing is updated
+# incrementally by this separate batch job. This is so when an incoming
+# message arrives it doesn't have to call Solr, so errors in the indexing won't
+# go back to public body.
$LOC/runner 'InfoRequest.update_solr_index()'
+# Public bodies and users are updated by the model, immediately when it is saved.
+# So nothing to do for them.