LoadIndex
| API定义 | APP_ERROR LoadIndex(const std::string& indexPath, AscendIndexVStar* indexVStar = nullptr); | 
|---|---|
| 功能描述 | 将已有索引Index从磁盘读入Device。 | 
| 输入 | const std::string& indexPath:数据文件路径; AscendIndexVStar* indexVStar:仅在调用“MultiSearch”接口场景使用,使所有Index共用第一个Index的码本。 | 
| 输出 | 无 | 
| 返回值 | APP_ERROR:调用返回状态,具体请参见接口调用返回值参考。 | 
| 约束说明 | 
 | 
父主题: AscendIndexVStar