Estimated time to read: 1 minute
This page discusses experimental features. Experimental features are still in progress, and you may encounter bugs or unexpected behavior when using them.
If you experience an issue or want to know more about this feature's status, reach out to us at Era Software.
This command deletes a particular index from EraSearch.
This command requires delete access to the index being deleted.
usage: eractl delete-index [-h] [--url URL] [--key KEY] --really index positional arguments: index Index to remove optional arguments: -h, --help show this help message and exit --url URL EraSearch URL, set via environment with ERACTL_URL (default: http://localhost:9200) --key KEY EraSearch API key, set via environment with ERACTL_API_KEY (default: None) --really Are you sure? (default: False)
Or to pass arguments from the environment:
To list the indices in the system and then delete an index by name:
Indexes can also be specified with wildcards (
*) to remove multiple indices at once:
Note that you may need to wrap the index argument in quotes.