// docs/reindex.asciidoc:704

[source, php]
----
$params = [
    'index' => 'test',
    'id' => '1',
    'body' => [
        'text' => 'words words',
        'flag' => 'foo',
    ],
];
$response = $client->index($params);
----
