-
Notifications
You must be signed in to change notification settings - Fork 89
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
Search parameters should be optional #4
Comments
Hi thanks for your report: The default value of an int in Go is 0 so if you don't initialize the field Maybe we can provide a default limit in accordance to the MeiliSearch engine ? |
Hi! The MeiliSearch engine uses a limit of 20 by default. But isn't it possible to provide a function that sends a simple request without any parameter if the user does not provide any? 🙂 Except for the mandatory one ( |
With the fix added in |
The search returns no result if I don't pass the
Limit
parameter. It does not fail. It just returns emptyHits
.=> no result
=> result
We should be able to pass only the
Query
parameterEdit
I understand that 2 parameters at least are needed becausereturns results as well.My bad, it does not even run at all, I open an issue for that: #7
Version
v0.9.0
of MeiliSearch.The text was updated successfully, but these errors were encountered: