-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
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
Set Limit in My Query #725
Comments
@joaopalopes24 this is the maxTotalHits setting on meilisearch side which prevents users from scrapping the whole data of a meilisearch DB. this is the setting (which is by default max 1000 items returned) https://docs.meilisearch.com/reference/api/settings.html#pagination |
Thanks @mmachatschek. Wondering if we should note this in the docs because this seems to keep popping up. |
@driesvints it may be worth mentioning in the docs |
Thank you @mmachatschek @driesvints |
Scout Version
10.0.2
Scout Driver
Meilisearch
Laravel Version
10.5.0
PHP Version
8.2.4
Database Driver & Version
MariaDB 10.7.8
SDK Version
1.0.0
Meilisearch CLI Version
1.1.0
Description
I'm performing a search via Laravel Scout Builder, and I want to bring all my data, so I set a limit equal to 10,000, but my result is always limited to a thousand results, even changing the limit.
ContactMessage::search()->take(10000)->get();
And in my database, we have over a thousand records.
Steps To Reproduce
Create a table with over a thousand records, and try to bring everything in using the limit.
The text was updated successfully, but these errors were encountered: