我之前使用elasticsearch-scrolltoend
作爲插件,升級到5.0後插件似乎無法工作。如何使用elasticsearch 5.0掃描並滾動大型數據集?如何使用elasticsearch-js和elasticsearch進行掃描和滾動5.0
我也收到嘗試時使用的執行在 elasticsearch-js docs錯誤:
json { "error": { "root_cause": [ { "type": "illegal_argument_exception", "reason": "Failed to parse request body" } ], "type": "illegal_argument_exception", "reason": "Failed to parse request body", "caused_by": { "type": "json_parse_exception", "reason": "Unrecognized token 'DnF1ZXJ5VGhlbkZldGNoBQAAAAAAAAHKFnV6a2NabEh4VDZLQmdzUzY0Y2tpd0EAAAAAAAAByxZ1emtjWmxIeFQ2S0Jnc1M2NGNraXdBAAAAAAAAAcwWdXprY1psSHhUNktCZ3NTNjRja2l3QQAAAAAAAAHOFnV6a2NabEh4VDZLQmdzUzY0Y2tpd0EAAAAAAAABzRZ1emtjWmxIeFQ2S0Jnc1M2NGNraXdB': was expecting ('true', 'false' or 'null')\n at [Source: [email protected]; line: 1, column: 457]" } }, "status": 400 }