Chad has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/87578


Change subject: Move maintenance scripts out of top level
......................................................................

Move maintenance scripts out of top level

Also tidy up README a bit.

Bug: 54973
Change-Id: I24afa6b51ecf01cab0a2188c72793da11c2904b0
---
M README
R maintenance/forceSearchIndex.php
R maintenance/updateOneSearchIndexConfig.php
R maintenance/updateSearchIndexConfig.php
4 files changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch 
refs/changes/78/87578/1

diff --git a/README b/README
index fec6572..1ff8b39 100644
--- a/README
+++ b/README
@@ -16,12 +16,12 @@
 If you want to change them then set their new values with 
$wgCirrusSearchServers in LocalSettings.php.
 
 Now run this script to generate your elasticsearch index:
- php maintenance/updateSearchConfig.php
+ php ./maintenance/updateSearchIndexConfig.php
 
 Now remove $wgDisableSearchUpdate = true from LocalSettings.php.  Updates 
should start heading to elasticsearch.
 
 Next bootstrap the search index by running:
- php maintenance/forceSearchIndex.php
+ php ./maintenance/forceSearchIndex.php
 Note that this can take some time.  For large wikis read Bootstrapping large 
wikis below.
 
 Once that is complete add this to LocalSettings.php to funnel queries to 
ElasticSearch:
@@ -50,8 +50,8 @@
 set "$wgDisableSearchUpdate = true;" in your LocalSettings.php file to
 stop trying to update elasticsearch.  Once you figure out what is wrong with 
elasticsearch you
 should turn those updates back on and then run the following:
-php maintenance/forceSearchIndex.php --from <whenever the outage started in 
ISO 8601 format> --deletes
-php maintenance/forceSearchIndex.php --from <whenever the outage started in 
ISO 8601 format>
+php ./maintenance/forceSearchIndex.php --from <whenever the outage started in 
ISO 8601 format> --deletes
+php ./maintenance/forceSearchIndex.php --from <whenever the outage started in 
ISO 8601 format>
 
 The first command picks up all the deletes that occurred during the outage and
 should complete quite quickly.  The second command picks up all the updates
diff --git a/forceSearchIndex.php b/maintenance/forceSearchIndex.php
similarity index 100%
rename from forceSearchIndex.php
rename to maintenance/forceSearchIndex.php
diff --git a/updateOneSearchIndexConfig.php 
b/maintenance/updateOneSearchIndexConfig.php
similarity index 100%
rename from updateOneSearchIndexConfig.php
rename to maintenance/updateOneSearchIndexConfig.php
diff --git a/updateSearchIndexConfig.php 
b/maintenance/updateSearchIndexConfig.php
similarity index 100%
rename from updateSearchIndexConfig.php
rename to maintenance/updateSearchIndexConfig.php

-- 
To view, visit https://gerrit.wikimedia.org/r/87578
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I24afa6b51ecf01cab0a2188c72793da11c2904b0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to