All Products
Search
Document Center

PolarDB:DisableSearchServerless

Last Updated:Nov 30, 2026

Disables the Serverless capability of the associated Search cluster.

Operation description

Locates the associated Search cluster by using the DBClusterId of the parent PolarDB primary cluster. The DBClusterId parameter does not accept a Search cluster ID. Search Serverless is independent of DB Serverless. This operation does not affect the configuration, enabling status, or orders of the database. You cannot call this operation to manage Search Serverless for clusters that do not contain Search nodes.

The disable operation reclaims the additional elastic resources of Search nodes, while the defined specifications remain unchanged. Perform this operation during off-peak hours. A successful response does not indicate that the resources of all nodes have been immediately reclaimed.

This operation disables only Search Serverless and does not disable DB Serverless. If the console provides an entry to disable both the database and Search, you must call the disable operations for the database and Search separately. You can query the enabling status of Search Serverless by using the Switchs parameter in DescribeSearchServerlessConf.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

DBClusterId

string

Yes

The ID of the parent PolarDB primary cluster, which is used to locate the associated Search cluster. This is not the Search cluster ID. This operation affects only Search and does not affect DB Serverless.

pc-bp10gr51qasnl****

The ID of the parent PolarDB primary cluster is used to locate the associated Search cluster. The disable operation does not affect DB Serverless.

Response elements

Element

Type

Description

Example

object

The result returned for the request.

RequestId

string

The unique identifier of the request, which is used to locate the request. This is not a background task ID.

5E71541A-6007-4DCC-A38A-F872C31FEB45

Returns the RequestId of the request. This does not indicate that the additional elastic resources of the nodes have been reclaimed.

Examples

Success response

JSON format

{
  "RequestId": "5E71541A-6007-4DCC-A38A-F872C31FEB45"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.