fully functioning elasticsearch driver