PATCH /v1/indexes/products/settings 🔒 Bearer

Update settings

Adjust typo tolerance, ranking config and other index-level knobs.

Updates per-index settings without changing the schema. The body is a partial patch — only the keys you send are touched, the rest are kept.

# Body parameters

Section Description
typo_config Engine typo tolerance: num_typos (0–4), and minimum word lengths before a typo is allowed.
search_attributes[] Per-field weights + tokenisation mode (ordered = position-sensitive, unordered = bag-of-words).
relevance Field-level bonuses applied after the engine's text-match score (prefix_bonus, sku_bonus, brand_bonus).
stop_words Tokens stripped from the query before search runs (useful for languages with frequent filler words).
no_results_behavior none (default), relax_query (drop tokens), or featured (fall back to *).
did_you_mean { "enabled": true } toggles "Did you mean?" suggestions when results are sparse.

# Response

Returns the merged settings.

{
  "data": {
    "typo_config": { ... },
    "search_attributes": [ ... ],
    "relevance": { ... },
    "updated_at": "2026-05-23T08:14:12Z"
  }
}
esc
PATCH /v1/indexes/products/settings