0
点赞
收藏
分享

微信扫一扫

elasticsearch的mapping设置


PUT /my_index
{
    "mappings": {
        "my_type": {
            "properties": {
                "title":  {
                    "type": "string",
                    "index":    "analyzed",
                    "analyzer": "ik_smart"
                }
            }
        }
    }
}


举报

相关推荐

0 条评论