elasticsearch 分页问题
作者:互联网
/**
* Creates a new unsorted {@link PageRequest}.
*
* @param page zero-based page index.
* @param size the size of the page to be returned.
* @since 2.0
*/
public static PageRequest of(int page, int size) {
return of(page, size, Sort.unsorted());
}
来源:https://www.xmtpost.com/注意这里的page是从0开始的!!!
标签:分页,PageRequest,int,param,问题,elasticsearch,unsorted,page,size 来源: https://www.cnblogs.com/vwvwvwgwg/p/13095934.html