elasticsearch\Connection $connectionTimeout

$connectionTimeout public property Timeout to use for connecting to an elasticsearch node. This value will be used to configure the curl CURLOPT_CONNECTTIMEOUT option. If not set, no explicit timeout will be set for curl. public float $connectionTimeout = null

elasticsearch\Connection $clusterState

$clusterState public read-only property public void getClusterState ( )

elasticsearch\Connection $autodetectCluster

$autodetectCluster public property Whether to autodetect available cluster nodes on open() public boolean $autodetectCluster = true

elasticsearch\Connection $auth

$auth public property Authentication data used to connect to the ElasticSearch node. Array elements: username: the username for authentication. password: the password for authentication. Array either MUST contain both username and password on not contain any authentication credentials. See also http://www.elasticsearch.org/guide/en/elasticsearch/client/php-api/current/_configuration.html#_example_configuring_http_basic_auth. public array $auth = []

elasticsearch\Connection $activeNode

$activeNode public property The active node. Key of one of the $nodes. Will be randomly selected on open(). public string $activeNode = null

elasticsearch\Command updateSettings()

updateSettings() public method (available since version 2.0.4) Change specific index level settings in real time. Note that update analyzers required to \yii\elasticsearch\close() the index first and \yii\elasticsearch\open() it after the changes are made, use updateAnalyzers() for it. See also http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-update-settings.html. public mixed updateSettings ( $index, $setting, $options = [] )$index string $setting string|ar

elasticsearch\Command updateAnalyzers()

updateAnalyzers() public method (available since version 2.0.4) Define new analyzers for the index. For example if content analyzer hasn’t been defined on "myindex" yet you can use the following commands to add it: $setting = [ 'analysis' => [ 'analyzer' => [ 'ngram_analyzer_with_filter' => [ 'tokenizer' => 'ngram_tokenizer', 'filter' => 'lowercase, snowball' ], ], 'tokenizer' => [

elasticsearch\Command update()

update() public method Updates a document See also http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update.html. public mixed update ( $index, $type, $id, $data, $options = [] )$index $type $id $data $options array

elasticsearch\Command typeExists()

typeExists() public method See also http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-types-exists.html. public mixed typeExists ( $index, $type )$index $type

elasticsearch\Command suggest()

suggest() public method Sends a request to the _suggest API and returns the result See also http://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters.html. public mixed suggest ( $suggester, $options = [] )$suggester string|array The suggester body $options array