Support elasticsearch 0.90.2