Well,不要刷屏了

reindex怎么使用啊

Elasticsearch | 作者 ldy | 发布于2019年01月23日 | 阅读数:2721

用postman发送post请求 报错
http://localhost:9200/_reindex参数:
{
  "source": {
    "index": "company"
  },
  "dest": {
    "index": "new_company",
     "version_type": "internal"
  }
}
已邀请:

rochy - rochy_he

赞同来自:

应该是没有设置发送的 body 的 content-type
你需要设置 content-type 为 appliction/json

fanmo3yuan

赞同来自:

具体的异常是什么呢?

JackGe

赞同来自:

设置content-type 为 appliction/json
sample.png

 

要回复问题请先登录注册