GET /index?topic_id=xxxx-xx-xx-xx-xxxxxxxx HTTP/1.1Host: <Region>.cls.tencentyun.comAuthorization: <AuthorizationString>
GET /index
Field Name | Type | Location | Required | Description |
topic_id | string | query | Yes | Topic ID of the index to be queried |
HTTP/1.1 200 OKContent-Type: application/jsonContent-Length: 153{"topic_id": "yyyy-yy-yy-yy-yyyyyyyy","effective": true,"rule": {"full_text": {"case_sensitive": false},"key_value": {"case_sensitive": false,"keys": ["age","name"],"types": ["long","text"]}}}
Field Name | Type | Required | Description |
topic_id | string | Yes | Topic ID of index rule |
effective | bool | Yes | Whether it is effective |
rule | object | No | Index rule, which will be returned if effective is true |
rule content description:Field Name | Type | Required | Description |
full_text | object | No | Full-text index configuration |
key_value | object | No | KV index configuration |
full_text content description:Field Name | Type | Required | Description |
case_sensitive | bool | Yes | Case sensitivity |
key_value content description:Field Name | Type | Required | Description |
case_sensitive | bool | Yes | Case sensitivity |
keys | array(string) | Yes | Names of the keys to be indexed |
types | array(string) | Yes | Types of above keys (in one-to-one correspondence). Currently, long double text is supported |
Feedback