We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
通过getLastCount获取数据存在误差
通过setLimit设置翻页后,存在前几页数据与后几页数据获取到的总文档量不一致。
The text was updated successfully, but these errors were encountered:
通过这么分页数据数,搜索一次来绕道解决,不然涉及分页就会有问题 // $count = $search->getLastCount(); //分页时不可用,不准 $page=10; $search->setQuery($my_query)->setLimit($page,100000*$page)->search(); $count=$search->count();
Sorry, something went wrong.
No branches or pull requests
通过getLastCount获取数据存在误差
通过setLimit设置翻页后,存在前几页数据与后几页数据获取到的总文档量不一致。
The text was updated successfully, but these errors were encountered: