add client for elasticsearch