elasticsearch
1. 版本号 5.3
2. 实现方法:
put 请求 http://x.x.x.x:9200/_template/index-*
{
"template": "index-*",
"_mappings": {
"type": {
"properties": {
"Field": {
"type": "short" }
}
}
}
}