【发布时间】:2019-06-18 15:41:07
【问题描述】:
当 elasticdump 停止并重新启动时,它会尝试在偏移后执行。 但发生错误。
[执行命令]
nohup ./elasticdump --input=http://host/common --output=http://host/common --type=data --limit=1000 --offset=1000 &
[错误]
发出错误 => {"error":{"root_cause":[{"type":"action_request_validation_exception","reason":"验证 失败:1:不允许在滚动中使用 [from] context;"}],"type":"action_request_validation_exception","reason":"验证 失败:1:不允许在滚动中使用 [from] 上下文;"},"状态":400}
如何使用偏移量???
【问题讨论】:
-
你运行的是哪个版本的 ES?
-
使用的ES版本是6.6。
标签: elasticsearch