src/Sherlock/Sherlock.php
public function addNode($host, $port = 9200)
    {
        $this->settings['cluster']->addNode($host, $port, $this->settings['cluster.autodetect']);

        return $this;
    }
public function addNode($host, $port = 9200)
    {
        $this->settings['cluster']->addNode($host, $port, $this->settings['cluster.autodetect']);

        return $this;
    }
Add a new node to the ES cluster

@param  string                                     $host server host address (either IP or domain)
@param  int                                        $port ElasticSearch port (defaults to 9200)

@return \Sherlock\Sherlock
@throws common\exceptions\BadMethodCallException
@throws common\exceptions\InvalidArgumentException