added elasticsearch indexing