younifyd
Menu

Get tokens from text analysis (GET /_analyze)

Get tokens from text analysis

GET/_analyze

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Get tokens from text analysis (GET /_analyze) action (under indices).
  3. Fill in the fields below, then reference the result from later steps as {{getTokensFromTextAnalysisGetAnalyze.response.data}}.

Request

Query parameters

indexstring

Index used to derive the analyzer. If specified, the `analyzer` or field parameter overrides this value. If no index is specified or the index does not have a default analyzer, the analyze API uses the standard analyzer.

Response

Returns 200 with an object. Read it in later steps with {{getTokensFromTextAnalysisGetAnalyze.response.data.<field>}}.

detailany
tokensarray<object>
end_offsetnumberrequired
positionnumberrequired
positionLengthnumber
start_offsetnumberrequired
tokenstringrequired
typestringrequired
json
{
  "detail": null,
  "tokens": [
    {
      "end_offset": 0,
      "position": 0,
      "start_offset": 0,
      "token": "string",
      "type": "string",
      "positionLength": 0
    }
  ]
}

Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.

Get tokens from text analysis (GET /_analyze) — Elasticsearch — Documentation