LoadIndex
API definition |
APP_ERROR LoadIndex(const std::string& indexPath, AscendIndexVStar* indexVStar = nullptr); |
|---|---|
Function |
Reads the existing index from a drive to the device. |
Input |
const std::string& indexPath: data file path. AscendIndexVStar* indexVStar: used only when MultiSearch is called. If this parameter is used, all indexes share the codebook of the first index. |
Output |
N/A |
Return value |
APP_ERROR: return status. For details, see Return Code Reference. |
Restrictions |
|
Parent topic: AscendIndexVStar