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 |
Please login to continue.