use 1.0 release of elastic search API