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 | No | The configuration information such as the routing fields of the search index. | |
index_sort | No | The presorting configuration of the search index. PrimaryKeySort and FieldSort are supported for presorting. |