All Products
Search
Document Center

OpenSearch:Reindex

Last Updated:Jul 16, 2024

Rebuilds an index.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /openapi/ha3/instances/{instanceId}/tables/{tableName}/reindex

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringYes

The instance ID.

ha-cn-2r42ppr7901
tableNamestringYes

The name of the table.

test_summary
bodyobjectNo

The request body.

dataTimeSecintegerNo

The timestamp in seconds. The value must be of the INTEGER type. This parameter is required if you specify an API data source.

1640867288
partitionstringNo

The partition in the MaxCompute table. This parameter is required if type is set to odps.

ds=20220713
ossDataPathstringNo

oss data path

oss://opensearch

Sample requests

POST /openapi/ha3/instances/{instanceId}/tables/{tableName}/reindex

Response parameters

ParameterTypeDescriptionExample
object
requestIdstring

requestId

10D5E615-69F7-5F49-B850-00169ADE513C
resultobject

Map

{}

Examples

Sample success responses

JSONformat

{
  "requestId": "10D5E615-69F7-5F49-B850-00169ADE513C",
  "result": {}
}

Error codes

For a list of error codes, visit the Service error codes.