0be2c28ee65384774b1e479b47dc3d92.asciidoc 255 B

1234567891011121314
  1. // indices/update-settings.asciidoc:120
  2. [source, php]
  3. ----
  4. $params = [
  5. 'index' => 'twitter',
  6. 'body' => [
  7. 'index' => [
  8. 'refresh_interval' => '1s',
  9. ],
  10. ],
  11. ];
  12. $response = $client->indices()->putSettings($params);
  13. ----