手工增加Mapping

Posted 黄海的编程知识世界

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了手工增加Mapping相关的知识,希望对你有一定的参考价值。

[[email protected] ~]# 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的主要内容,如果未能解决你的问题,请参考以下文章