• 删除表
DROP TABLE products;Query OK, 0 rows affected (0.02 sec)POST /cli -d "DROP TABLE products"{
"total":0,
"error":"",
"warning":""
}$params = [ 'index' => 'products' ];
$response = $client->indices()->drop($params);Array
(
[total] => 0
[error] =>
[warning] =>
)
最后更新于