aclfvCreateSearchInput
Applicability
Product |
Supported |
|---|---|
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, see aclfvDestroySearchInput.
The
Prototype
aclfvSearchInput *aclfvCreateSearchInput(aclfvQueryTable *queryTable, aclfvRepoRange *repoRange, uint32_t topk)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
queryTable |
Input |
Pointer to the input query table. Call aclfvCreateQueryTable to create data of the aclfvQueryTable type. |
repoRange |
Input |
Pointer to the repository range to search. Call aclfvCreateRepoRange to create data of the aclfvRepoRange type. |
topk |
Input |
Number of results to return per search request |
Returns
- Success: a pointer to data of the aclfvSearchInput type
- Failure: nullptr