elasticsearch remove data from index code example
Example 1: elasticsearch delete all indicesa
curl -XDELETE localhost:9200/shop
Example 2: delete index elasticsearch
curl -X DELETE 'http://localhost:9200/_all'
curl -XDELETE localhost:9200/shop
curl -X DELETE 'http://localhost:9200/_all'