尝试使用Kibana更改index.max_result_window的大小,但无法这样做。以下是使用的代码
PUT my_index/_settings?preserve_existing=true
{
"max_result_window" : 100000
}
尝试过,不使用preserve_existing = true并得到以下响应。
{
"acknowledged" : true
}
但是,当我尝试检索数据时,出现以下错误
"shard" : 0,
"index" : ".kibana_1",
"node" : "lL-OQ2P6QIG0dU_I4aGTFw",
"reason" : {
"type" : "query_phase_execution_exception",
"reason" : "Result window is too large, from + size must be less than or equal to: [10000] but was [20000]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window] index level setting."
请咨询。