delete_index
Delete the cnreport-{year} Elasticsearch index and its metadata row for a specified year. Requires confirm=true to execute.
Instructions
Drop the cnreport-{year} Elasticsearch index and its metadata row.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | which index year to delete. | |
| confirm | No | must be True to actually delete. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||