delete
method allows you to remove vectors from the index based on their identifiers.
The command accepts the following parameters:
ids
: A list of identifiers of vectors to be deleted.prefix
: A string prefix to match vector IDs. All vectors with IDs that start with this prefix will be deleted.filter
: A metadata filter to match vectors to be deleted.ids
, prefix
, or filter
can be provided.deleted
: An integer indicating how many vectors were deleted with the command.