mysociety/popit-api — pull request #71 by hecticjeff (2014-08-15 10:25:00+00:00)
Title: 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.

Fixes https://github.com/mysociety/popit/issues/592
Fixes https://github.com/mysociety/popit/issues/451
Fixes https://github.com/mysociety/popit/issues/416