Function: search
Applicability
|
Product |
Supported (√/x) |
|---|---|
|
|
x |
|
|
x |
|
|
x |
|
|
√ |
|
|
x |
Function Usage
Performs 1:N or N:M feature search.
The
Prototype
- C Prototype
1aclError aclfvSearch(aclfvSearchType type, aclfvSearchInput *searchInput, aclfvSearchResult *searchRst)
- Python Function
1ret = acl.fv.search(type, search_input, search_result)
Parameter Description
|
Parameter |
Description |
|---|---|
|
type |
Int, feature description. For details, see aclfvSearchType. |
|
search_input |
|
|
search_result |
|
Return Value Description
|
Return Value |
Description |
|---|---|
|
ret |
Int, error code.
|
Restrictions
- 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.