It makes origin update very slow, and was only useful for tests.
Instead, this commit adds a 'flush' endpoints that is called by
tests, because they need the indices to be refreshed to test
the results of a search query.
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DSEA/job/tox/26/
See console output for more information: https://jenkins.softwareheritage.org/job/DSEA/job/tox/26/console