CreateSearchIndex
Creates a search index in a specified search library, supporting face, intelligent tag, and large model search indexes.
Operation description
Before calling this operation, make sure that you fully understand the billing methods and pricing of Intelligent Search.
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 edition supports 1,000 hours of video. After the quota is exceeded, the system no longer performs large model visual state analysis.
Note
The shared edition supports 1 million face analyses. After the quota 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 value |
| IndexConfig | object | No | This parameter contains the relevant parameters for index configuration. | {"level":"Shared"} | |
| Specification | level | string | No | The resource specification parameter for the face and mm index types. 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.