![]() There are various tools as mentioned above, I wont list them here but I will link you to one which enables you to get started straight away, located here. If you wish to delete more than one index that follows a certain naming convention (note the *, a wildcard), - curl -XDELETE localhost:9200/.mar* ![]() If you wish to delete an index - curl -XDELETE localhost:9200/shop You can delete an entire index or types with an index also, you can delete a type by leaving out the document ID like so - curl -XDELETE localhost:9200/shop/product You will then receive a reply as to whether this was successful or not. ![]() curl -XDELETE localhost:9200/shop/product/1 ![]() Using cURL curl -XDELETE localhost:9200/index/type/documentIDĮ.g. You can delete using cURL or visually using one of the many tools that open source enthusiasts have created for Elasticsearch.
0 Comments
Leave a Reply. |