您的位置:首页 > 移动开发

es 为某个type创建mapping

2016-10-13 15:26 423 查看
https://www.elastic.co/guide/en/elasticsearch/guide/current/mapping-intro.html

PUT /gb/_mapping/tweet
{
"properties" : {
"tag" : {
"type" :    "string",
"index":    "not_analyzed"
}
}
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐