Skip to content

Instantly share code, notes, and snippets.

@AKNiazi
Last active September 15, 2016 14:14
Show Gist options
  • Save AKNiazi/35f4005ac9038af5759dd868225bcfea to your computer and use it in GitHub Desktop.
Save AKNiazi/35f4005ac9038af5759dd868225bcfea to your computer and use it in GitHub Desktop.
1. How to check one index mappings i.e which fields are mapped
curl -XGET 'http://localhost:9200/_mapping?pretty=true'
2. Delete index
$ curl -XDELETE 'http://localhost:9200/journeys/' where journeys is the index name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment