IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Delete a documentedit
Alright, let’s go ahead and delete the document that we added previously:
$deleteParams = array(); $deleteParams['index'] = 'my_index'; $deleteParams['type'] = 'my_type'; $deleteParams['id'] = 'my_id'; $retDelete = $client->delete($deleteParams);