Function: search
Applicable Products
Product |
Supported (√/x) |
|---|---|
x |
|
x |
|
x |
|
x |
|
√ |
|
x |
Description
Performs 1:N or N:M feature search.
This API is not supported for
Prototype
- C Prototype
1aclError aclfvSearch(aclfvSearchType type, aclfvSearchInput *searchInput, aclfvSearchResult *searchRst)
- Python Function
1ret = acl.fv.search(type, search_input, search_result)
Parameters
Parameter |
Description |
|---|---|
type |
Int, feature description. For details, see aclfvSearchType. |
search_input |
|
search_result |
|
Return Values
Return Value |
Description |
|---|---|
ret |
Int, error code.
|
Constraints
- In N:M mode, multithreaded adding, search, or deletion is not allowed.
- In 1:N or N:M mode, if no repository is added, zero results are returned by the acl.fv.search call.
- This API call automatically creates a stream for synchronous task execution within the API. When the tasks are complete, the stream is automatically destroyed.
Hardware has restrictions on the total number of streams. For details, see Function: create_stream.