- PHP Client: other versions:
- Overview
- Quickstart
- Installation
- Configuration
- Index Operations
- Indexing Operations
- Search Operations
- The Connection Pool
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 document
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Delete a document
editAlright, 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);
Was this helpful?
Thank you for your feedback.