SearchIndexProps
Properties for defining a SearchIndex
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ots-searchindex
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ots;
new SearchIndexProps {
object FieldSchemas,
object IndexName,
object InstanceName,
object TableName,
object IndexSetting = null,
object IndexSort = null
};
Properties
Name | Type | Description |
---|---|---|
FieldSchemas |
object |
Property fieldSchemas: list of field_schema. |
IndexName |
object |
Property indexName: The index name. |
InstanceName |
object |
Property instanceName: The name of the OTS instance in which table will locate. |
TableName |
object |
Property tableName: The table name of the OTS instance. |
IndexSetting |
object |
Property indexSetting: Index settings. |
IndexSort |
object |
Property indexSort: This parameter specifies how data is sorted. |
FieldSchemas
Required
public object FieldSchemas { get; set; }
- Type: object
Property fieldSchemas: list of field_schema.
IndexName
Required
public object IndexName { get; set; }
- Type: object
Property indexName: The index name.
InstanceName
Required
public object InstanceName { get; set; }
- Type: object
Property instanceName: The name of the OTS instance in which table will locate.
TableName
Required
public object TableName { get; set; }
- Type: object
Property tableName: The table name of the OTS instance.
IndexSetting
Optional
public object IndexSetting { get; set; }
- Type: object
Property indexSetting: Index settings.
IndexSort
Optional
public object IndexSort { get; set; }
- Type: object
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.