elasticsearch中配置 “search.max_open_scroll_context”
es使用scroll查询报异常elasticsearch.exceptions.TransportError: TransportError(500, 'search_phase_execution_exception', 'Trying to create too many scroll contexts. Must be less than or equal to: [500]. This l
·
es使用scroll查询报异常elasticsearch.exceptions.TransportError: TransportError(500, 'search_phase_execution_exception', 'Trying to create too many scroll contexts. Must be less than or equal to: [500]. This limit can be set by changing the [search.max_open_scroll_context] setti
增加滚动量
curl -x "" -X PUT localhost:9200/_cluster/settings -H 'Content-Type: application/json' -d'{
"persistent" : {
"search.max_open_scroll_context": 1024
},
"transient": {
"search.max_open_scroll_context": 1024
}
}'
参考链接:
elasticsearch - 如何在elasticsearch中配置 “search.max_open_scroll_context”? - IT工具网
更多推荐
已为社区贡献4条内容
所有评论(0)