手工增加Mapping

[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"
                    }
                 }
 
     }'

 

posted @ 2018-03-13 12:29  糖豆爸爸  阅读(115)  评论(0)    收藏  举报
Live2D