# Can not put index settings

**URL:** https://discuss.elastic.co/t/can-not-put-index-settings/214147
**Category:** Elasticsearch
**Created:** [January 8, 2020, 3:13am UTC](https://discuss.elastic.co/t/can-not-put-index-settings/214147 "2020-01-08T03:13:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![4968d645bd88f4cdfc17](https://avatars.discourse-cdn.com/v4/letter/4/a5b964/32.png) [@4968d645bd88f4cdfc17](https://discuss.elastic.co/u/4968d645bd88f4cdfc17)
#### Post date: [January 8, 2020, 3:13am UTC](https://discuss.elastic.co/t/can-not-put-index-settings/214147/1 "2020-01-08T03:13:21Z")

</div>

```
[root@xxx ~]# curl -X PUT "localhost:9200/ols-mgw-201912/_settings?pretty" -H 'Content-Type: application/json' -d'
> {
> "index.routing.allocation.exclude._ip": "10.97.19.104"
> }
> '
{
  "error" : {
"root_cause" : [
  {
    "type" : "mapper_parsing_exception",
    "reason" : "analyzer [ik_smart] not found for field [cnName]"
  }
],
"type" : "mapper_parsing_exception",
"reason" : "Failed to parse mapping [doc]: analyzer [ik_smart] not found for field [cnName]",
"caused_by" : {
  "type" : "mapper_parsing_exception",
  "reason" : "analyzer [ik_smart] not found for field [cnName]"
}
  },
  "status" : 400
}

```

I want use the index-level shard allocation,but when i put index settings,i got this error. How can i resolve this? I have `analysis-ik` on each node.

```
[root@xxx ~]# curl localhost:9200/_cat/plugins | grep ols
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 416 100 416 0 0 13948 0 --:--:-- --:--:-- --:--:-- 14344
ols-2 analysis-ik 6.7.2
ols-3 analysis-ik 6.7.2
ols-1 analysis-ik 6.7.2
```

---

<div class="post-metadata">

### Author: ![4968d645bd88f4cdfc17](https://avatars.discourse-cdn.com/v4/letter/4/a5b964/32.png) [@4968d645bd88f4cdfc17](https://discuss.elastic.co/u/4968d645bd88f4cdfc17)
#### Post date: [January 8, 2020, 4:03am UTC](https://discuss.elastic.co/t/can-not-put-index-settings/214147/2 "2020-01-08T04:03:16Z")

</div>

Sorry,because the master node not install this plugin.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [February 5, 2020, 4:03am UTC](https://discuss.elastic.co/t/can-not-put-index-settings/214147/3 "2020-02-05T04:03:17Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
