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.
Version: unspecified
Severity: normal