delete_by_query
Delete all documents matching a specified query in an Elasticsearch index. Provide the index name and query body; optionally specify a cluster.
Instructions
Deletes documents matching the provided query.
Args: index: Name of the index body: Query to match documents for deletion cluster: Optional cluster name. Uses the default cluster if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| body | Yes | ||
| cluster | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||