
Redis Delete
CertifiedRemove elements from a Redis vector set
Redis Delete
Certified
Remove elements from a Redis vector set
Runs VREM once per rendered element (VREM has no multi-element form, unlike DEL), counts removals, and can fail when not all elements are removed.
yaml
type: io.kestra.plugin.redis.vector.DeleteExamples
Remove an embedding from a vector set.
yaml
id: remove_embedding
namespace: company.team
tasks:
- id: delete
type: io.kestra.plugin.redis.vector.Delete
url: "redis://:{{ secret('REDIS_PASSWORD') }}@{{ secret('REDIS_HOST') }}:6379"
key: doc_embeddings
elements:
- doc_42
Properties
elements *Requiredarray
SubTypestring
Element ids to remove
Rendered list of element ids; each one is removed with its own VREM call.
key *Requiredstring
Vector set key
Rendered before calling VREM.
url *Requiredstring
Redis connection string
failedOnMissing booleanstring
Default
falseFail when removals are missing
Defaults to false; when true, throws if fewer elements are removed than requested.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
count integer
Removed count
Total number of elements actually removed.