Delete the elasticsearch index before reindexing

If we don't do this then there might be stray documents that are no
longer in the database, so we get inconsistent results.