如果需要搜索分页,可以通过from size组合来进行。from表示从第几行开始,size表示查询多少条文档。from默认为0,size默认为10,
如果搜索size大于10000,需要设置index.max_result_window参数
注意:size的大小不能超过index.max_result_window这个参数的设置,默认为10,000。
原文地址:http://www.07net01.com/2016/02/1268720.html

相关文章:

  • 2021-12-31
  • 2022-02-10
  • 2021-11-22
  • 2022-01-27
  • 2021-06-17
  • 2022-12-23
  • 2021-11-22
  • 2021-10-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-11
  • 2021-05-29
  • 2022-12-23
  • 2021-12-03
相关资源
相似解决方案