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|array
$options array

URL options

doc_Yii
2016-10-30 17:01:42
Comments
Leave a Comment

Please login to continue.