添加es索引出现异常:Limit of total fields [1000] in index [issue] has been exceeded
PUT my_index/_settings { "index.mapping.total_fields.limit": 2000 }
此处设置为2000 最大索引
可以在可视化工具 比如kibana 来查看是否成功
成功如下:
{ "acknowledged" : true }
也可以再用 get查看下
GET my_index/_settings
es 403 错误:
磁盘内存不够导致, 清下内存 在执行这个
curl -XPUT -H "Content-Type: application/json" http://192.168.1.133:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'
PUT /_all/_settings {"index.blocks.read_only_allow_delete": null}