---
title: "Set index Settings"
method: PUT
path: "/api/{index}/_settings"
tags: ["Index"]
---

# Set index Settings

`PUT /api/{index}/_settings`

## Path parameters

- `index` string, required

## Request body

- MetaIndexSettings
  - `analysis` MetaIndexAnalysis
    - `analyzer` object
    - `char_filter` object
    - `filter` object — compatibility with es, alias for TokenFilter
    - `token_filter` object
    - `tokenizer` object
  - `number_of_replicas` integer
  - `number_of_shards` integer

## Response `200`

OK

- MetaHTTPResponse
  - `message` string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/zincsearch/apis/zinc-search-engine-api.md) · [All operations](https://skmtc.net/zincsearch/apis/zinc-search-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zincsearch/zinc-search-engine-api/versions/c7ce1991bb9a/schema)
