remove_ids

API definition

size_t remove_ids(const faiss::IDSelector &sel) override;

Function

Deletes the features by IDs.

Input

const faiss::IDSelector &sel: feature vectors to be deleted. For details about its usage and definition, see the related description in Faiss documentation.

Output

N/A

Return value

Returns the number of deleted feature vectors.

Restrictions

This API is not supported in the current version.