需要搜索分页,可以通过from size组合来进行。from表示从第几行开始,size表示查询多少条数据。from默认为0,size默认为10, 
如果搜索size大于10000,需要设置index.max_result_window参数 ,默认为10000。

 

转载于:https://blog.csdn.net/futudeniaodan/article/details/53032212