
Milvus Delete
CertifiedDelete rows from a Milvus collection
Milvus Delete
Delete rows from a Milvus collection
Deletes rows by a list of primary key IDs, or by a scalar filter expression. Exactly one of ids or filter must be set.
type: io.kestra.plugin.milvus.DeleteExamples
Delete rows by primary key ID.
id: milvus_delete
namespace: company.team
tasks:
- id: delete_rows
type: io.kestra.plugin.milvus.Delete
uri: http://localhost:19530
token: "{{ secret('MILVUS_TOKEN') }}"
collectionName: documents
ids: [1, 2, 3]
Delete rows matching a scalar filter expression.
id: milvus_delete_by_filter
namespace: company.team
tasks:
- id: delete_rows
type: io.kestra.plugin.milvus.Delete
uri: http://localhost:19530
token: "{{ secret('MILVUS_TOKEN') }}"
collectionName: documents
filter: "city == 'Berlin'"
Properties
collectionName *string
Collection name
The name of the collection to delete rows from.
uri *string
Milvus server URI
The URI of the Milvus server or Zilliz Cloud endpoint, e.g. http://localhost: 19530.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150databaseName string
Database name
The Milvus database to operate against. Defaults to the server's default database when not set.
filter string
Scalar filter expression
A Milvus boolean filter expression; every row matching it is deleted. Mutually exclusive with ids. Unset by default.
ids array
Primary key IDs to delete
A list of primary key values to delete. Mutually exclusive with filter. Unset by default.
partitionName string
Partition name
Optional partition to scope the delete to. Defaults to every partition.
password string
Password
Password for a self-hosted Milvus instance with username/password authentication enabled.
token string
API token
The API token for authentication, typically used with Zilliz Cloud or a Milvus instance with token-based auth enabled.
username string
Username
Username for a self-hosted Milvus instance with username/password authentication enabled. Leave unset if using a token or an unauthenticated instance.
Outputs
deletedCount integer
0Number of deleted rows