不为失败找理由,要为成功找方法。

ES 如何给索引插入字段,并且更新现有数据

Elasticsearch | 作者 mcong | 发布于2018年05月31日 | 阅读数:9737

ES 如何给索引插入字段,并且更新现有数据
已邀请:

zhy

赞同来自:

elasticsearch 新增字段
{  
put   http://192.168.0.196:9200/empl ... loyee 
{
  "properties": {
    "pinyin": {
     "type": "text",
    "analyzer": "ik_max_word",
    "search_analyzer": "ik_smart"
    }
  }

现有数据需要重新跑

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

赞同来自:

插入字段后新导入的数据才会有效果。

要回复问题请先登录注册