1. 程式人生 > >ElasticSearch如何新增字段

ElasticSearch如何新增字段

app mic elastic sof clas color cnblogs ont per

  

/index/type/_mapping post

{
    "properties": {
        "zy_renwu_pingjia": {
            "type": "string",
            "index": "not_analyzed"
        }
    }
}

ElasticSearch如何新增字段