Function: search
Description
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)
Parameters
|
Parameter |
Description |
|---|---|
|
type |
Feature description. The value is of the int type. For details, see the description of aclfvSearchType. |
|
search_input |
|
|
search_result |
|
Return Value
|
Return Value |
Description |
|---|---|
|
ret |
Int, error code.
|
Restrictions
- In N:M mode, multithreaded adding, search, or deletion is not allowed.
- In N:M or 1:N 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.
Due to hardware restrictions, the total number of streams is limited. For details, see the description of Function: create_stream.