码迷,mamicode.com
首页 > 移动开发 > 详细

手工增加Mapping

时间:2018-03-13 14:00:52      阅读:185      评论:0      收藏:0      [点我收藏+]

标签:ret   手工   root   ica   cat   ati   curl   mount   nbsp   

[root@es ~]# curl -H "Content-Type:application/json" -XPOST "http://127.0.0.1:9200/t_base_student/doc/_mapping?pretty" -d {
                 "properties": {
                      "amount":{
                         "type":"integer"
                    }
                 }
 
     }

 

手工增加Mapping

标签:ret   手工   root   ica   cat   ati   curl   mount   nbsp   

原文地址:https://www.cnblogs.com/littlehb/p/8555966.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!