delete
This operation deletes entities by filter expression.
Description
Zilliz Cloud provides a set of useful filtering operators to help you build filter expressions that meet your needs. For details, refer to Filtering Overview and related pages.
Synopsis
zilliz vector delete
--collection <value>
--filter <value>
[--partition <value>]
[--database <value>]
[--output <json | table | text | yaml | csv>]
[--no-header]
[--query <value>]
[--yes]
Options
-
--collection (string) -
[REQUIRED]
Indicates the collection name.
-
--filter (string) -
[REQUIRED]
Indicates the filter expression for entities to delete.
-
--partition (string) -
Indicates the partition name.
-
--database (string) -
Indicates the database name.
-
--output, -o (string) -
Indicates the output format. Possible values:
-
json, -
table, -
text, -
yaml, -
csv.
-
-
--no-header (boolean) -
Indicates whether to omit the header row when the output is set to
tableorcsv. -
--query, -q (string) -
Indicates a JMESPath expression to filter output.
-
--yes, -y (boolean) -
Indicates whether to skip the confirmation prompt.
Example
zilliz vector delete --collection my_col --filter 'id in [1, 2, 3]'