younifyd
Menu

Get all synonym sets

Get all synonym sets

GET/_synonyms

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Get all synonym sets action (under synonyms).
  3. Fill in the fields below, then reference the result from later steps as {{getAllSynonymSets.response.data}}.

Request

Query parameters

fromnumber

The starting offset for synonyms sets to retrieve.

sizenumber

The maximum number of synonyms sets to retrieve.

Response

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

countnumber

The total number of synonyms sets defined.

resultsarray<object>

The identifier and total number of defined synonym rules for each synonyms set.

synonyms_setanyrequired

Synonyms set identifier

countnumberrequired

Number of synonym rules that the synonym set contains

json
{
  "count": 0,
  "results": [
    {
      "synonyms_set": null,
      "count": 0
    }
  ]
}

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

Get all synonym sets — Elasticsearch — Documentation