// indices/update-settings.asciidoc:120

[source, php]
----
$params = [
    'index' => 'twitter',
    'body' => [
        'index' => [
            'refresh_interval' => '1s',
        ],
    ],
];
$response = $client->indices()->putSettings($params);
----
