younifyd
Menu

Get typoTolerance

Get typoTolerance

GET/indexes/{index_uid}/settings/typo-tolerance

Use it in a workflow

  1. Add a step and choose the Meilisearch connector.
  2. Pick the Get typoTolerance action (under Settings).
  3. Fill in the fields below, then reference the result from later steps as {{getTypotolerance.response.data}}.

Request

Path parameters

index_uidstringrequired

Unique identifier of the index.

Response

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

enabledboolean | null

When true, typo tolerance is enabled. When false, only exact matches are returned.

Default true

minWordSizeForTyposoneOf

Default {"oneTypo":5,"twoTypos":9}

disableOnWordsarray | null

Words for which typo tolerance is disabled. Use for brand names or terms that must match exactly.

Default []

disableOnAttributesarray | null

Attributes for which typo tolerance is disabled. Those attributes only return exact matches. Useful for fields like product codes or IDs.

Default []

disableOnNumbersboolean | null

When true, typo tolerance is disabled on numeric tokens. For example, 123 will not match 132.

Default false

json
{
  "enabled": true,
  "minWordSizeForTypos": {
    "oneTypo": 5,
    "twoTypos": 9
  },
  "disableOnWords": [
    "iPhone",
    "phone"
  ],
  "disableOnAttributes": [
    "uuid",
    "url"
  ],
  "disableOnNumbers": false
}

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

Was this page helpful?