Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/320.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python Elasticsearch Scroll API错误:RequestError(400,&x27;ElasticsearchIllegalArgumentException[未能解码scrollId])_Python_<img Src="//i.stack.imgur.com/RUiNP.png" Height="16" Width="18" Alt="" Class="sponsor Tag Img">elasticsearch - Fatal编程技术网 elasticsearch,Python,elasticsearch" /> elasticsearch,Python,elasticsearch" />

Python Elasticsearch Scroll API错误:RequestError(400,&x27;ElasticsearchIllegalArgumentException[未能解码scrollId])

Python Elasticsearch Scroll API错误:RequestError(400,&x27;ElasticsearchIllegalArgumentException[未能解码scrollId]),python,elasticsearch,Python,elasticsearch,我目前正在使用Elasticsearch 1.3.4 通过Python ES客户端使用scroll API时(摘自示例: 我得到了以下错误: elasticsearch.exceptions.RequestError: RequestError(400, 'ElasticsearchIllegalArgumentException[Failed to decode scrollId]; nested: IOException[Bad Base64 input character decimal

我目前正在使用Elasticsearch 1.3.4

通过Python ES客户端使用scroll API时(摘自示例:

我得到了以下错误:

elasticsearch.exceptions.RequestError: RequestError(400, 'ElasticsearchIllegalArgumentException[Failed to decode scrollId]; nested: IOException[Bad Base64 input character decimal 123 in array position 0]; ', 'ElasticsearchIllegalArgumentException[Failed to decode scrollId]; nested: IOException[Bad Base64 input character decimal 123 in array position 0]; ')
当在另一个elasticsearch(5.5.2)中使用相同的代码时,效果非常好

谷歌搜索让我想到了这一点,这表明ES版本中存在这个问题
elasticsearch.exceptions.RequestError: RequestError(400, 'ElasticsearchIllegalArgumentException[Failed to decode scrollId]; nested: IOException[Bad Base64 input character decimal 123 in array position 0]; ', 'ElasticsearchIllegalArgumentException[Failed to decode scrollId]; nested: IOException[Bad Base64 input character decimal 123 in array position 0]; ')