Function: create_search_input
Description
Creates data of the aclfvSearchInput type as the input of a search task.
To destroy data of the aclfvSearchInput type, call Function: destroy_search_input.
The
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 Value
|
Return Value |
Description |
|---|---|
|
search_input |
Int, pointer address.
|
Parent topic: API for feature vector search (Python)