Deletes a search index.
Usage notes
A deleted search index cannot be recovered. Exercise caution before calling this operation.
Request syntax
message DeleteSearchIndexRequest {
optional string table_name = 1;
optional string index_name = 2;
}
|
Parameter |
Type |
Required |
Description |
|
table_name |
string |
No |
The name of the data table. |
|
index_name |
string |
No |
The name of the search index. |
Response syntax
message DeleteSearchIndexResponse {
}
A successful call returns HTTP status code 200. Any other status code indicates a failure.
HTTP 200: the call succeeded.
-
HTTP 400 or 500: the call failed.
The response includes an error message. For more information, see Error.
Use Tablestore SDKs
Delete a search index using any of the following Tablestore SDKs:
Tablestore SDK for Java: Delete search indexes
Tablestore SDK for Go: Delete search indexes
Tablestore SDK for Python: Delete search indexes
Tablestore SDK for Node.js: Delete search indexes
Tablestore SDK for .NET: Delete search indexes
Tablestore SDK for PHP: Delete search indexes