Get tokens from text analysis

GET /_analyze

The analyze API performs analysis on a text string and returns the resulting tokens.

application/json

Body

Responses

GET /_analyze
curl \
 -X GET http://api.example.com/_analyze \
 -H "Content-Type: application/json" \
 -d '"{\n  \"analyzer\" : \"standard\",\n  \"text\" : \"Quick Brown Foxes!\"\n}"'
Request example
{
  "analyzer" : "standard",
  "text" : "Quick Brown Foxes!"
}