use internal http query for elasticsearch driver