Get tokens from text analysis Beta

POST /_analyze

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

application/json

Body

Responses

POST /_analyze
curl \
 -X POST 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!"
}