使用 man ascii 来查看 ASCII 表。

怎样给现有索引建立mapping

Elasticsearch | 作者 dj | 发布于2018年04月19日 | 阅读数:2012

PUT 语句应该怎么写
已邀请:

laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net

赞同来自:

参考DSL:https://github.com/laoyang360/ ... ation
假定索引已经创建,以下的方法能为已经创建的索引新加字段。

PUT mat_index/_mapping/mat_type
{
"properties": {
"scnt": {
"type": "long"
}
}
}

要回复问题请先登录注册