Docker compose template for Elasticsearch
Run
Snippets
# View Indices.
http://localhost:9200/_cat/indices?v
# Search All.
curl "http://localhost:9200/${INDEX_NAME}/type/_search?pretty"
# View Mappings.
curl "http://localhost:9200/${INDEX_NAME}/_mapping/datetime?pretty"
# Delete Index.
curl -XDELETE "http://localhost:9200/${INDEX_NAME}"