Returns a new HttpClient connected to this node.
Returns a new HttpClient connected to this node.
If shutdownNodeOnClose is true, then the local node will be shutdown once this client is closed. Otherwise you are required to manage the lifecycle of the local node yourself.
(Since version ) see corresponding Javadoc for more information.
(Since version 6.5) The elasticsearch embedded module will be removed in 7.0