Fix index updating to actually work with elasticsearch.

However, trying to change the current analyzer for a field still fails anyway:
https://github.com/elasticsearch/elasticsearch/issues/443