adding elasticsearch indexing