add elastic search support