PUT /_template/template_test
{
"index_patterns": ["*test"],
"order": 1,
"settings": {
"number_of_shards": 1,
"number_of_replicas": 1
},
"mappings": {
"date_detection": false,
"numeric_detection": true
}
}
PUT /_template/template_default
{
"index_patterns": ["*"],
"order": 0,
"version": 1,
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0
}
}
GET /_template/template*
elastic search template 操作demo
猜你喜欢
转载自blog.csdn.net/weixin_39394909/article/details/105339895
今日推荐
周排行