Creates a search index in a search library. A search library can contain multiple search indexes of different types.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:CreateSearchIndex |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SearchLibName |
string |
No |
The name of the search library.
|
test1 |
| IndexType |
string |
Yes |
The index type. Valid values:
Note
The shared instance type supports up to 1,000 hours of video. After the limit is exceeded, the system no longer performs large model visual state analysis.
Note
The shared instance type supports up to 1,000,000 face analyses. After the limit is exceeded, the system no longer performs face analysis.
Valid values:
|
mm |
| IndexStatus |
string |
No |
The index status. Default value: Active. Valid values:
Valid values:
|
Active |
| IndexConfig |
string |
No |
The index configuration. |
{} |
IndexConfig description
| Feature | Name | Type | Required | Description | Example |
| IndexConfig | object | No | The parameters related to the index configuration. | {"level":"Shared"} | |
| Specification | level | string | No | The resource specification parameter for face or mm (large model) indexes. Default value: Shared. Valid values:
| "Shared" |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
*****ACB-44F2-5F2D-88D7-1283E70***** |
| Success |
string |
Indicates whether the call was successful. Valid values:
|
true |
| Code |
string |
The return code. |
200 |
Examples
Success response
JSON format
{
"RequestId": "*****ACB-44F2-5F2D-88D7-1283E70*****",
"Success": "true",
"Code": "200"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.