Command
curl -X GET 'http://localhost:9200/_analyze?pretty' -H 'Content-Type: application/json' -d '{"text":"Elasticsearch is awesome"}'
Examples
Standard analyzer
curl -X GET 'http://localhost:9200/_analyze?pretty' -H 'Content-Type: application/json' -d '{"analyzer":"standard","text":"searching data"}'