first pass at integrating elasticsearch driver