Can not put index settings

[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

Sorry,because the master node not install this plugin.

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