added elasticsearch utilities