Compatible with elasticsearch v0.20.6