【发布时间】:2017-04-18 17:49:21
【问题描述】:
我之前使用elasticsearch-scrolltoend 作为插件,升级到5.0 后插件似乎不起作用。如何使用 elasticsearch 5.0 扫描和滚动大型数据集?
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: org.elasticsearch.transport.netty4.ByteBufStreamInput@67ba4d99; line: 1, column: 457]"
}
},
"status": 400
}
【问题讨论】:
标签: javascript elasticsearch elasticsearch-5 elasticsearch.js