Upgrading Elasticsearch (bug 1013874)

Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1013874
I wonder if the mapping could be added at the model level to avoid that kind of things?