IMPORTANT: elasticsearch.js has been replaced by the new Elasticsearch JavaScript client. We strongly advise you to migrate to the new client. To learn more, see the migration guide.
setHosts(hostConfigs)edit
Use this method to dynamically change the list or hosts the client uses.
argsedit
|
|