ES from+size>10000报错

参考博客

from + size > 10000就会报错

Result window is too large, from + size must be less than or equal to: [10000] but was [10001]. 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.

复制代码
# 修改索引窗口限制
PUT /report_base_info/_settings?preserve_existing=true
{
  "max_result_window": "200000"
}
相关推荐
不辉放弃12 分钟前
java连数据库
java·mysql
熊大如如8 小时前
Java 反射
java·开发语言
猿来入此小猿8 小时前
基于SSM实现的健身房系统功能实现十六
java·毕业设计·ssm·毕业源码·免费学习·猿来入此·健身平台
goTsHgo9 小时前
Spring Boot 自动装配原理详解
java·spring boot
卑微的Coder9 小时前
JMeter同步定时器 模拟多用户并发访问场景
java·jmeter·压力测试
pjx9879 小时前
微服务的“导航系统”:使用Spring Cloud Eureka实现服务注册与发现
java·spring cloud·微服务·eureka
多多*9 小时前
算法竞赛相关 Java 二分模版
java·开发语言·数据结构·数据库·sql·算法·oracle
爱喝酸奶的桃酥10 小时前
MYSQL数据库集群高可用和数据监控平台
java·数据库·mysql
lizz66610 小时前
Python查询ES错误ApiError(406, ‘Content-Type ...is not supported
python·elasticsearch
唐僧洗头爱飘柔952710 小时前
【SSM-SSM整合】将Spring、SpringMVC、Mybatis三者进行整合;本文阐述了几个核心原理知识点,附带对应的源码以及描述解析
java·spring·mybatis·springmvc·动态代理·ioc容器·视图控制器