$params = [
'index' => 'my_index',
'type' => 'my_type',
'id' => 'my_id'
];
// Delete doc at /my_index/my_type/my_id
$response = $client->delete($params);
php elasticsearch删除文档
最新推荐文章于 2022-10-19 21:41:24 发布
$params = [
'index' => 'my_index',
'type' => 'my_type',
'id' => 'my_id'
];
// Delete doc at /my_index/my_type/my_id
$response = $client->delete($params);