Clear elasticsearch data, fixed scope of dependency