All Products
Search
Document Center

Tablestore:IndexSchema

Last Updated:May 13, 2024

IndexSchema specifies the information about the search index structure, such as all index fields, index options, and presorting configurations.

Data structure

message IndexSchema {
    repeated FieldSchema field_schemas = 1;
    optional IndexSetting index_setting = 2;
    optional Sort index_sort = 3;
}

Parameter

Type

Required

Description

field_schemas

repeated FieldSchema

Yes

The configurations of all index fields.

index_setting

IndexSetting

No

The configuration information such as the routing fields of the search index.

index_sort

Sort

No

The presorting configuration of the search index. PrimaryKeySort and FieldSort are supported for presorting.

Related operations