Adjust 3.3 to elasticsearch 1.0
This will *not* run on 0.9!