for elasticsearch 1.3