This article is a mirror article of machine translation, please click here to jump to the original article.

View: 8241|Reply: 0

Caused by: QueryPhaseExecutionException[Batch size is too large...

[Copy link]
Posted on 1/14/2019 1:52:35 PM | | | |
When using Elasticsearch to perform paginated queries, the following error will be reported when the query records exceed 10,000:

Caused by: QueryPhaseExecutionException[Batch size is too large, size must be less than or equal to: [10000] but was [999999999]. Scroll batch sizes cost as much memory as result windows so they are controlled by the [index.max_result_window] index level setting.]
Looking at the documentation, you can only query 10000 by default:
Solution:








Previous:Love to read novels, dual search engines, offline download, online reading...
Next:[Dream Pig Fairy] 10 professions one-click LAN awakening terminal + Java background
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com