add dependency to elasticsearch