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. |
FieldSchemas
Required
FieldSchemas interface{}
- Type: interface{}
Property fieldSchemas: list of field_schema.
IndexName
Required
IndexName interface{}
- Type: interface{}
Property indexName: The index name.
InstanceName
Required
InstanceName interface{}
- Type: interface{}
Property instanceName: The name of the OTS instance in which table will locate.
TableName
Required
TableName interface{}
- Type: interface{}
Property tableName: The table name of the OTS instance.
IndexSetting
Optional
IndexSetting interface{}
- Type: interface{}
Property indexSetting: Index settings.
IndexSort
Optional
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.