Last modified: 2013-09-26 16:03:39 UTC
CirrusSearch's updateSearchIndexConfig.php should accept an argument to perform a transparent rebuild. It should also be smarter about picking the right indexIdentifier when --rebuild is provided. Essentially, we need to learn the currently in use index identifier and set the identifier to that for --rebuild and to the opposite one if using the transparent rebuild argument.
https://gerrit.wikimedia.org/r/#/c/84424/
Already used this in production.