This action is irreversible. Proceed with caution.

Deletes the specified encrypted items stored in the index, including all its associated fields (vector, contents, metadata).

void Delete(const std::vector<std::string>& ids);

Parameters:

ParameterTypeDescription
idsconst std::vector<std::string>&IDs to delete.

Exceptions

Example Usage

// Delete items with IDs "item_1" and "item_2"
index->Delete(["item_1", "item_2"]);