All Products
Search
Document Center

Tablestore:IndexSetting

Last Updated:May 13, 2024

IndexSetting specifies the configuration information of a search index such as the routing fields.

Data structure

message IndexSetting {
    repeated string routing_fields = 2;
}

Parameter

Type

Required

Description

routing_fields

string

No

The configuration of the routing fields. You can use the primary key column as the routing field.

When data is written to the index, the location where the data is distributed is determined based on the value of the routing field. The data with the same routing field value is distributed to the same partition.

Related operations

CreateSearchIndex