0
点赞
收藏
分享

微信扫一扫

elasticsearch中给类型增加新字段


elasticsearch中给类型增加新字段
https://www.elastic.co/guide/en/elasticsearch/guide/current/_controlling_analysis.html

For instance, let’s add a new field to my_index:

PUT /my_index/_mapping/my_type
{
    "my_type": {
        "properties": {
            "english_title": {
                "type":     "string",
                "analyzer": "english"
            }
        }
    }
}


举报

相关推荐

0 条评论