aclfvCreateSearchInput

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Description

Creates data of the aclfvSearchInput type as the input of a search task.

To destroy data of the aclfvSearchInput type, call aclfvDestroySearchInput.

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 in advance.

topk

Input

Number of results to return per search request

Returns

  • Success: a pointer to data of the aclfvSearchInput type
  • Failure: nullptr