compatibility for elasticsearch 0.90.7