AddWithIds
API definition |
APP_ERROR AddWithIds(const std::vector<float>& baseData, const std::vector<int64_t>& ids); |
|---|---|
Function |
Creates an AscendIndexVStar database and adds new feature vectors into the database. Also, it allows users to specify vector IDs to be added. |
Input |
const std::vector<float>& baseData: feature vectors to be added. const std::vector<int64_t>& ids: mapping of vector IDs. |
Output |
N/A |
Return value |
APP_ERROR: return status. For details, see Return Code Reference. |
Restrictions |
|
Parent topic: AscendIndexVStar