-
Notifications
You must be signed in to change notification settings - Fork 38
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
Unable to sort #67
Comments
Hi @robjbrain, So you should use this as following: If you have any further questions, please let us know. |
Hi @robjbrain, have you tried the solution that we suggested? Do you have any other problems using the drivers? |
Hey sorry not replying sooner. I realised later that you're reliant on Scout to only accept a string, but that this is pretty limiting. The However at the moment i'm exclusively using the driver using "SearchMulti" to allow more advanced search. e.g.
If there isn't a better way of doing the above i'd be all ears. But it's not clear from your docs. It does feel like a very dirty hack though. |
@robjbrain you can rewrite it like this
|
Description
At present it doesn't seem possible to sort, or if it is it's not documented anywhere.
Steps to reproduce
Setup on a model in this example
Post
and try the following:Expected Behavior
I would expect the results to be ordered by the
created_at
attribute in ascending orderActual Behavior
Instead the following error message is show:
Request Malformed: Parameter
q
is required.Metadata
Typesense Driver Version: 5.2.4
The text was updated successfully, but these errors were encountered: