Function: create_search_input
Applicable Products
Product |
Supported (√/x) |
|---|---|
x |
|
x |
|
x |
|
x |
|
√ |
|
x |
Description
Creates data of the aclfvSearchInput type as an input of a search task.
To destroy data of the aclfvSearchInput type, call Function: destroy_search_input.
This API is not supported for
Prototype
- C Prototype
1aclfvSearchInput *aclfvCreateSearchInput(aclfvQueryTable *queryTable, aclfvRepoRange *repoRange, uint32_t topK)
- Python Function
1search_input = acl.fv.create_search_input(query_table, repo_range, topK)
Parameters
Parameter |
Description |
|---|---|
query_table |
|
repo_range |
|
topK |
Int, number of results to return per search request. |
Return Values
Return Value |
Description |
|---|---|
search_input |
Int, pointer address.
|
Parent topic: API for feature vector search (Python)