If you actually try to execute the command
you will get this error:
Exception in thread "main" org.postgresql.util.PSQLException: ERROR: column w.language does not exist
Unfortunately, as a result you don't have any search indexes anymore because this script deletes the "old" indexes before it create new ones (which fails).
Ticket with details: https://tickets.metabrainz.org/browse/MBVM-34