Note. The default version of elasticsearch (when configuring the service: elasticsearch) is 0.92.0 (2 years)
However, you can install a custom version of elasticsearch . And don't forget to remove elasticsearch from the "service" field.
However, elasticsearch may take some time to search, so you will need to write a script to reconnect.
Here is an example using nodejs sdk: this code is at the end of my hookuite:
before(function(done){ var count = 1; function _setup (c) { return client.ping({pingTimeout: 4000}) .then(function () { done(); }) .catch(function (err) { console.log(err); console.log('retry ', c); return setTimeout(function () { _setup(count++); }, 4000); }); } _setup(count); })
source share