Table of Contents

Basic Operations

This assumes that elasticsearch is running on localhost with its management port being 9200.

Get Indices with Size

curl -XGET http://localhost:9200/_cat/indices?v

Delete Index

curl -XDELETE http://localhost:9200/index_name

Delete all Indices

curl -XDELETE http://localhost:9200/_all