ElasticSearch为已存在的索引新增字段

PUT keywords_index/_mapping

{

    "properties": {

    "kakou": {

        "type": "keyword",

      "fields": {

            "raw": {//别名--用于比较大小,

                "type": "integer"

        }

}

}

}

}

你可能感兴趣的:(ElasticSearch为已存在的索引新增字段)