initial integration with elasticsearch