AddCodeBooksByIndex

API definition

APP_ERROR AddCodeBooksByIndex(AscendIndexVStar& indexVStar);

Function

In the multi-index retrieval scenario, the current index can use this API to load the codebook of the input index instance to the current index.

Input

AscendIndexVStar& indexVStar: index instance that has been filled with a codebook.

Output

N/A

Return value

APP_ERROR: return status. For details, see Return Code Reference.

Restrictions

This API is used only when MultiSearch is called.