// docs/reindex.asciidoc:224

[source, php]
----
$response = $client->indices()->refresh();
$params = [
    'index' => 'new_twitter',
];
$response = $client->search($params);
----
