PUT 索引名称/_settings?preserve_existing=true { "max_result_window": "1000000" }
2、设置后只对已经存在的索引生效,新建的索引需重新设置
3、设置时索引名称可以使用通配符进行设置
解决方案二:
创建索引时设置
"settings":{ "index":{ "max_result_window":1000000
}
}
关于elasticsearch输出默认限制最多一万条记录的问题
原文:https://www.cnblogs.com/merely/p/12595080.html