Skip to content

SearchIndexProps

Properties for defining a SearchIndex.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ots-searchindex

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkots"
&alicloudroscdkots.SearchIndexProps {
    FieldSchemas: interface{},
    IndexName: interface{},
    InstanceName: interface{},
    TableName: interface{},
    IndexSetting: interface{},
    IndexSort: interface{},
}

Properties

Name Type Description
FieldSchemas interface{} Property fieldSchemas: list of field_schema.
IndexName interface{} Property indexName: The index name.
InstanceName interface{} Property instanceName: The name of the OTS instance in which table will locate.
TableName interface{} Property tableName: The table name of the OTS instance.
IndexSetting interface{} Property indexSetting: Index settings.
IndexSort interface{} Property indexSort: This parameter specifies how data is sorted.

FieldSchemasRequired

FieldSchemas interface{}
  • Type: interface{}

Property fieldSchemas: list of field_schema.


IndexNameRequired

IndexName interface{}
  • Type: interface{}

Property indexName: The index name.


InstanceNameRequired

InstanceName interface{}
  • Type: interface{}

Property instanceName: The name of the OTS instance in which table will locate.


TableNameRequired

TableName interface{}
  • Type: interface{}

Property tableName: The table name of the OTS instance.


IndexSettingOptional

IndexSetting interface{}
  • Type: interface{}

Property indexSetting: Index settings.


IndexSortOptional

IndexSort interface{}
  • Type: interface{}

Property indexSort: This parameter specifies how data is sorted.

By default, the data is sorted in the same way as the primary key of the table. If the search index contains NESTED fields, data is not sorted by default.