support elasticsearch 1.0.0.RC2