02es请求的数据量超过默认设置的2G报错处理
问题:es请求的数据量超过默认设置的2G报错处理

RequestError(400, 'search_phase_execution_exception', 'ReleasableBytesStreamOutput cannot hold more than 2GB of data')
全部索引都设置
curl -X PUT 'http://192.168.56.211:9200/*/_settings' -H 'Content-Type: application/json' -d '
{
"index" : {
"max_result_window" : 100000000
}
}
'
如果是单个索引设置把*改为具体索引即可

浙公网安备 33010602011771号