Result window is too large, from + size must be less than or equal to: [10000] but was
ES其默认只能查询前一万条记录,当from+size>1w时,就会抛出如下异常Causedby:org.elasticsearch.ElasticsearchException:Elasticsearchexception[type=illegal_argument_exception,reason=Resultwindowistoolarge,from+sizemustbelessthanore