support for elasticsearch _analyze rest api