Add elasticsearch as a dependency