我试图从elasticsearch 1.0重新索引直接通过使用从远程选项elasticsearch重新索引错误 - 重新索引从远程
这两个版本安装在远程系统重新索引和分别在端口号9200和9201运行elasticsearch 5.0 。
我遵循从远程索引的步骤。第一,我在elasticsearch 1.0中创建了数据的快照。数据的映射是在elasticsearch 5.0中用一个新的索引名称创建的。但每当我尝试使用curl命令张贴JSON文件:
卷曲-XPOST “本地主机:9201/_reindex” -d @ reindex.json
{
"source": {
"remote": {
"host": "localhost:9200",
"index" : "customer"
}
},
"dest": {
"index": "new_customer"
}
}
请帮我解决这个问题
就像错误说的,只需将'localhost:9200'改为'http:// localhost:9200' – Val