younifyd
Menu

Indexes Analyze

Shows how an analyzer breaks text into tokens.

POST/indexes('{indexName}')/search.analyze

Use it in a workflow

  1. Add a step and choose the Azure AI Search connector.
  2. Pick the Indexes Analyze action (under Service).
  3. Fill in the fields below, then reference the result from later steps as {{indexesAnalyze.response.data}}.

Request

Path parameters

indexNamestringrequired

The name of the index for which to test an analyzer.

Request body

Enter the body as JSON in the step's Body field.

textstringrequired

The text to break into tokens.

analyzerstring

Defines the names of all text analyzers supported by the search engine.

One ofar.microsoftar.lucenehy.lucenebn.microsofteu.lucenebg.microsoftbg.luceneca.microsoftca.lucenezh-Hans.microsoftzh-Hans.lucenezh-Hant.microsoftzh-Hant.lucenehr.microsoftcs.microsoftcs.luceneda.microsoftda.lucenenl.microsoftnl.luceneen.microsoften.luceneet.microsoftfi.microsoftfi.lucenefr.microsoftfr.lucenegl.lucenede.microsoftde.luceneel.microsoftel.lucenegu.microsofthe.microsofthi.microsofthi.lucenehu.microsofthu.luceneis.microsoftid.microsoft

tokenizerstring

Defines the names of all tokenizers supported by the search engine.

One ofclassicedgeNGramkeyword_v2letterlowercasemicrosoft_language_tokenizermicrosoft_language_stemming_tokenizernGrampath_hierarchy_v2patternstandard_v2uax_url_emailwhitespace

normalizerstring

Defines the names of all text normalizers supported by the search engine.

One ofasciifoldingelisionlowercasestandarduppercase

tokenFiltersarray<string>

An optional list of token filters to use when breaking the given text. This parameter can only be set when using the tokenizer parameter.

charFiltersarray<string>

An optional list of character filters to use when breaking the given text. This parameter can only be set when using the tokenizer parameter.

json
{
  "text": "string",
  "analyzer": "ar.microsoft",
  "tokenizer": "classic",
  "normalizer": "asciifolding",
  "tokenFilters": [
    "arabic_normalization"
  ],
  "charFilters": [
    "html_strip"
  ]
}

Response

Returns 200 with a any. Read it in later steps with {{indexesAnalyze.response.data.<field>}}.

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

Was this page helpful?