Rebuilds an index.
Operation description
Method
POST
URI
/openapi/ha3/instances/{instanceId}/tables/{tableName}/reindex
```.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
searchengine:Reindex |
update |
*Instance
|
None | None |
Request syntax
POST /openapi/ha3/instances/{instanceId}/tables/{tableName}/reindex HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The instance ID. |
ha-cn-pl32rf0**** |
| tableName |
string |
Yes |
The name of the index table. |
test_summary |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
A JSON-formatted string. For more information, see the following details. |
|
| dataTimeSec |
integer |
No |
The timestamp in seconds. This parameter is of the INT type. This parameter is required when the data source uses API push. |
1640867288 |
| partition |
string |
No |
The partition. This parameter is required when the data source is MaxCompute. |
ds=20220713 |
| ossDataPath |
string |
No |
The OSS file path. |
oss://opensearch |
Request example
POST /openapi/ha3/instances/{instanceId}/tables/{tableName}/reindex
```.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The request ID. |
10D5E615-69F7-5F49-B850-00169ADE513C |
| result |
object |
The returned result. |
{} |
Examples
Success response
JSON format
{
"requestId": "10D5E615-69F7-5F49-B850-00169ADE513C",
"result": {}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.